added system install and unistall scripts

This commit is contained in:
Solomon Laing 2022-06-01 17:37:51 +09:30
parent b716a19c2f
commit 0da5fdf121
3 changed files with 12 additions and 1 deletions

3
install-system.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash
sudo cp scripts/* /usr/local/bin

View File

@ -1,5 +1,6 @@
#!/bin/sh #!/bin/sh
count=$(yay -Qu | wc -l) count=$(yay -Qu | wc -l)
icon=""
printf "<fn=1></fn>%s" $count echo "<fn=1>$icon</fn> $count"

7
uninstall-system.sh Executable file
View File

@ -0,0 +1,7 @@
#!/bin/bash
scripts=$(ls scripts)
for script in $scripts; do
sudo rm /usr/local/bin/$script
done