theme-switcher-package/theme-switcher.install

15 lines
581 B
Plaintext
Raw Normal View History

2022-09-14 15:35:53 +00:00
pre_install() {
if [ -e /usr/bin/theme-switcher ]; then
rm -f /usr/bin/theme-switcher
echo "Removed de-packaged TROMjaro Theme switcher"
fi
if [ -e "$HOME/.local/share/applications/theme-switcher.desktop" ]; then
rm -f "$HOME/.local/share/applications/theme-switcher.desktop"
echo "Removed de-packaged TROMjaro Theme switcher Desktop file"
fi
if [ -e "$HOME/.local/share/Theme-Switcher/" ]; then
rm -rf "$HOME/.local/share/Theme-Switcher/"
echo "Removed de-packaged TROMjaro Theme switcher directory"
fi
}