Remove additional icon added in Ubuntu

This commit is contained in:
Mylloon 2021-12-28 16:29:42 +01:00
parent 876de63dff
commit 92e05783f7
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -64,5 +64,15 @@ else # if regular distro (i.e. Ubuntu)
fish -c "abbr spotify 'LD_PRELOAD=/usr/local/lib/spotify-adblock.so spotify &> /dev/null & disown'" fish -c "abbr spotify 'LD_PRELOAD=/usr/local/lib/spotify-adblock.so spotify &> /dev/null & disown'"
fi fi
# Removal of Ubuntu icon
if grep "Ubuntu" /proc/version > /dev/null;
then
# We remove the Ubuntu desktop shortcut only if it already exists
if [ -f /usr/share/applications/fish.desktop ]
then
sudo mv /usr/share/applications/fish.desktop /usr/share/applications/fish.desktop.bak
fi
fi
echo -e "\nFish configured! 🎉" echo -e "\nFish configured! 🎉"
echo "You must log out to finish applying the changes." echo "You must log out to finish applying the changes."