hotfix: Added aliases, implemented new runners
This commit is contained in:
5
installer/make-installer.sh
Executable file
5
installer/make-installer.sh
Executable file
@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
cp ../hotfix src/hotfix
|
||||
cp ../hotfix.conf src/hotfix.conf
|
||||
cp ../LICENSE src/LICENSE
|
||||
makeself --copy src hotfix-installer.run hotfix ./install.sh
|
@ -66,6 +66,13 @@ function do_install {
|
||||
fi
|
||||
chmod +x $1/hotfix
|
||||
|
||||
if [ -f $HOME/.hotfix.conf ]; then
|
||||
debug "~/.hotfix.conf already exists, will not overwrite"
|
||||
else
|
||||
debug "Copying hotfix.conf into ~/.hotfix.conf"
|
||||
cp hotfix.conf $HOME/.hotfix.conf
|
||||
fi
|
||||
|
||||
debug "Verifying that hotfix is callable..."
|
||||
source ~/.profile &>/dev/null
|
||||
source ~/.bashrc &>/dev/null
|
||||
|
Reference in New Issue
Block a user