Remove additional icon added in Ubuntu
This commit is contained in:
parent
876de63dff
commit
92e05783f7
1 changed files with 10 additions and 0 deletions
|
@ -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'"
|
||||
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 "You must log out to finish applying the changes."
|
||||
|
|
Reference in a new issue