From 6e5f2d3b17affb7f0f02bd8abe2073e633b23d78 Mon Sep 17 00:00:00 2001 From: Anyon3 Date: Thu, 15 Jun 2017 15:42:24 +0000 Subject: [PATCH] Fix path of the icon-theme.cache --- blackmate.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/blackmate.sh b/blackmate.sh index 8ea2b1e..02a4448 100644 --- a/blackmate.sh +++ b/blackmate.sh @@ -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";