php-hotfix/installer/install.sh

14 lines
304 B
Bash
Raw Normal View History

2016-12-31 00:43:07 +00:00
#!/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