Uncomment symblink creation for script
This commit is contained in:
parent
8f9e6bf1c7
commit
00f6517d1f
1 changed files with 4 additions and 2 deletions
|
@ -2,6 +2,7 @@
|
|||
|
||||
required="sway swayidle swaylock waybar"
|
||||
|
||||
|
||||
printf "Checking required programs :\n"
|
||||
for p in $required
|
||||
do
|
||||
|
@ -20,11 +21,12 @@ done < <(ls -d -1 */)
|
|||
cd ..
|
||||
|
||||
printf "Create symblink for executables\n"
|
||||
|
||||
cd bin
|
||||
while read d
|
||||
do
|
||||
printf "\t%s script found\n" "$d"
|
||||
#rm -rf $HOME/.local/bin/${d}
|
||||
#ln -s "$(pwd)/${d}" "$HOME/.local/bin/${d}"
|
||||
rm -rf $HOME/.local/bin/${d}
|
||||
ln -s "$(pwd)/${d}" "$HOME/.local/bin/${d}"
|
||||
done < <(ls -1 *)
|
||||
exit 0
|
||||
|
|
Reference in a new issue