Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
10 lines (9 sloc) 280 Bytes
#!/bin/bash
pharen_dir=$(dirname $(readlink -f $0))
if [ ! -e "/usr/bin/pharen" ]
then
ln -s $pharen_dir/bin/pharen /usr/bin/pharen
echo "Pharen successfully installed."
else
echo "There is already a file called 'pharen' in /usr/bin. Maybe it's already installed?"
fi