add an uninstall script

This commit is contained in:
Adrian Wannenmacher 2020-09-25 17:26:39 +02:00
parent e44f63ae09
commit 188c1325d9
Signed by: tfld
GPG Key ID: 19D986ECB1E492D5
1 changed files with 9 additions and 0 deletions

9
uninstall.fish Executable file
View File

@ -0,0 +1,9 @@
#!/bin/fish
for x in (ls ./hooks)
rm "/usr/share/libalpm/hooks/$x"
end
for x in (ls ./scripts)
rm "/usr/share/libalpm/scripts/$x"
end