hotfix: Added aliases, implemented new runners

This commit is contained in:
2016-12-11 22:36:27 +01:00
parent 8e8cb05674
commit 302e5a50ce
23 changed files with 597 additions and 225 deletions

5
installer/make-installer.sh Executable file
View 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

View File

@ -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