snap-pac-uki/uninstall.fish

15 lines
264 B
Fish
Executable File

#!/bin/fish
rm /usr/local/bin/snap-pac-uki
echo "removed script."
for name in (ls ./pacman)
rm /usr/share/libalpm/hooks/$name
end
echo "removed pacman hooks."
for name in (ls ./systemd)
rm /etc/systemd/system/$name
end
echo "removed systemd unit files"