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
1 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
#!/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.
# It will fetch the latest database of BlackArch and create an entry for each of them in the menu.
@ -65,7 +65,10 @@
else
thic=`echo gnome`;
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
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 /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";