Updated installer stuff
This commit is contained in:
13
installer/install.sh
Normal file
13
installer/install.sh
Normal file
@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "Installing hotfix executable..."
|
||||
cp hotfix ~/bin/hotfix
|
||||
echo "Fixing permissions..."
|
||||
chmod +x ~/bin/hotfix
|
||||
|
||||
if [ -e ~/.hotfix.conf ]; then
|
||||
echo "Configuration file ~/.hotfix.conf already exists"
|
||||
else
|
||||
echo "Installing configuration file..."
|
||||
cp hotfix.conf ~/.hotfix.conf
|
||||
fi
|
5
installer/message
Normal file
5
installer/message
Normal file
@ -0,0 +1,5 @@
|
||||
This installer will put hotfix into the bin directory of the current user, ie. install it as ~/bin/hotfix. If the directory does not exist, it will be created.
|
||||
|
||||
Most Linux distributions will automatically add ~/bin to the path if it exists. If hotfix isn't callable from the command line after restarting your shell and/or rebooting, please consult the documentation.
|
||||
|
||||
Some basic aliases will be installed into ~/.hotfix.conf if the file doesn't already exist.
|
Reference in New Issue
Block a user