From 9ea5790a9b20fb8fb7cf30f067c7976411d566fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Sun, 22 Feb 2015 02:08:49 +0100 Subject: [PATCH] appmenus: really call kbuildsycoca4 only once after template update (#886) --- appmenus-scripts/remove-appvm-appmenus.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appmenus-scripts/remove-appvm-appmenus.sh b/appmenus-scripts/remove-appvm-appmenus.sh index 3263f4d..1423ddc 100755 --- a/appmenus-scripts/remove-appvm-appmenus.sh +++ b/appmenus-scripts/remove-appvm-appmenus.sh @@ -18,6 +18,6 @@ if ls $APPSDIR/*.directory $APPSDIR/*.desktop > /dev/null 2>&1; then rm -f $HOME/.config/menus/applications-merged/user-$VMNAME-vm.menu fi -if [ -n "$KDE_SESSION_UID" ]; then +if [ -n "$KDE_SESSION_UID" -a -z "$SKIP_CACHE_REBUILD" ]; then kbuildsycoca4 fi