1
0
mirror of https://github.com/byReqz/blackmate.git synced 2024-11-23 11:44:56 +00:00
path of the icon-theme.cache
This commit is contained in:
Anyon3 2017-06-15 15:42:24 +00:00 committed by GitHub
parent dc03b17c25
commit 6e5f2d3b17

View File

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
# #
# Blackmate v0.43 # Blackmate v0.43.1
# #
# Description : BlackMate is a menu generator for the BlackArch Linux os tools, made for the wm xfce4. # Description : BlackMate is a menu generator for the BlackArch Linux os tools, made for the wm xfce4.
# It will fetch the latest database of BlackArch and create an entry for each of them in the menu. # It will fetch the latest database of BlackArch and create an entry for each of them in the menu.
@ -65,7 +65,10 @@
else else
thic=`echo gnome`; thic=`echo gnome`;
fi fi
#Delete any cache icons of the current theme
rm /usr/share/icons/$thic/icon-theme.cache 2> /dev/null || true
#Copy the extra icons into the icons theme #Copy the extra icons into the icons theme
cp /usr/share/blackmate/menu-i/* /usr/share/icons/$thic/32x32/apps/ 2> /dev/null || true cp /usr/share/blackmate/menu-i/* /usr/share/icons/$thic/32x32/apps/ 2> /dev/null || true
@ -226,7 +229,4 @@
rm -rf /usr/share/blackmate/tmp/ 2> /dev/null || true rm -rf /usr/share/blackmate/tmp/ 2> /dev/null || true
rm /usr/share/blackmate/blackarch.db.tar.gz 2> /dev/null || true rm /usr/share/blackmate/blackarch.db.tar.gz 2> /dev/null || true
#Delete any cache icons of the current theme
rm /usr/share/icons/Adwaita/icon-theme.cache 2> /dev/null || true
echo -e "\033[32m[*]\e[0m Done, in order to have a correct display of the new menu, you may need to restart xfce4"; echo -e "\033[32m[*]\e[0m Done, in order to have a correct display of the new menu, you may need to restart xfce4";