Better installation process

- ask user confirmation
- detects if love-release should be installed system-wide or in user
  space
- moved completion form /etc/bash_completion.d/love-release to
  /usr/share/bash-completion/completions/love-release
This commit is contained in:
Antonin Décimo
2014-10-04 09:56:57 +02:00
parent 691b38767a
commit c04739df10
2 changed files with 35 additions and 13 deletions

View File

@@ -2,10 +2,13 @@
`love-release.sh` -- Bash script to generate Love 2D game releases
### INSTALLATION
Clone and run as root `install.sh`, or edit `install.sh` to choose
locations in user-space.
Close and reopen your terminal to make completion available, or execute :
`. /etc/bash_completion.d/love-release`
git clone https://github.com/MisterDA/love-release.git
cd love-release
# Install system-wide
sudo ./install.sh
# Install in user space
./install.sh
### SYNOPSIS
`love-release.sh [-adlmw] [-n project_name] [-r release_dir] [-v love_version] [FILES...]`