added system install and unistall scripts
This commit is contained in:
parent
b716a19c2f
commit
0da5fdf121
3
install-system.sh
Executable file
3
install-system.sh
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
sudo cp scripts/* /usr/local/bin
|
||||||
@ -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
7
uninstall-system.sh
Executable file
@ -0,0 +1,7 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
scripts=$(ls scripts)
|
||||||
|
|
||||||
|
for script in $scripts; do
|
||||||
|
sudo rm /usr/local/bin/$script
|
||||||
|
done
|
||||||
Reference in New Issue
Block a user