Add 'theme-switcher.install'
This commit is contained in:
parent
0ffefb7c31
commit
d9b5e98ddc
14
theme-switcher.install
Normal file
14
theme-switcher.install
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
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
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user