Add new scripts and install/uninstall
This commit is contained in:
8
uninstall.sh
Executable file
8
uninstall.sh
Executable file
@ -0,0 +1,8 @@
|
||||
#!/usr/bin/bash
|
||||
|
||||
PATH=/home/$(whoami)/.local/bin
|
||||
TO_DELETE=($PATH/pcs*)
|
||||
NUM_OF_FILES=${#TO_DELETE[@]}
|
||||
|
||||
/usr/bin/rm -f ${TO_DELETE[@]}
|
||||
echo $NUM_OF_FILES scripts removed from $PATH.
|
Reference in New Issue
Block a user