mirror of
https://github.com/bytedream/scripts.git
synced 2025-05-09 20:25:12 +02:00
Scripts to pathify doesn't needing the .sh ending anymore
This commit is contained in:
parent
67207b367d
commit
ba1cf70160
@ -29,11 +29,11 @@ if [ $# -ge 1 ]; then
|
||||
echo "The script is already installed"
|
||||
fi
|
||||
elif [ ! -z $link ]; then
|
||||
ln -s "$path/$1.sh" $executablePath
|
||||
ln -s $path/$1.* $executablePath
|
||||
echo "Pathified $1"
|
||||
else
|
||||
cp -r $path /usr/share
|
||||
ln -s "/usr/share/$1/$1.sh" $executablePath
|
||||
ln -s /usr/share/$1/$1.* $executablePath
|
||||
echo "Pathified $1"
|
||||
fi
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user