dom0/appmenus: reload KDE menu after update (#283)

This commit is contained in:
Marek Marczykowski 2011-10-30 11:05:50 +01:00
parent ce82303c16
commit d3c1a09ca9
2 changed files with 6 additions and 0 deletions

View File

@ -54,3 +54,6 @@ fi
echo "--> Adding Apps to the Menu..."
xdg-desktop-menu install $APPSDIR/*.directory $APPSDIR/*.desktop
if [ -n "$KDE_SESSION_UID" ]; then
kbuildsycoca4
fi

View File

@ -17,3 +17,6 @@ if ls $APPSDIR/*.directory $APPSDIR/*.desktop > /dev/null 2>&1; then
rm -f $APPSDIR/*.desktop $APPSDIR/*.directory
fi
if [ -n "$KDE_SESSION_UID" ]; then
kbuildsycoca4
fi