php-hotfix/installer/install.sh

14 lines
304 B
Bash

#!/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