appmenus: really call kbuildsycoca4 only once after template update (#886)

This commit is contained in:
Marek Marczykowski-Górecki 2015-02-22 02:08:49 +01:00
parent 5645b4c307
commit 9ea5790a9b

View File

@ -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