appmenus: force ASCII sort order

In some locales (namely Estonian) [A-Z] doesn't match all the letters.
This commit is contained in:
Marek Marczykowski-Górecki 2013-11-16 11:46:53 +01:00
parent 8dbbf6a9a7
commit acb8657735
2 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@ if [ "$SRCDIR" != "none" ]; then
fi fi
echo "--> Adding Apps to the Menu..." echo "--> Adding Apps to the Menu..."
xdg-desktop-menu install $APPSDIR/*.directory $APPSDIR/*.desktop LC_COLLATE=C xdg-desktop-menu install $APPSDIR/*.directory $APPSDIR/*.desktop
if [ -n "$KDE_SESSION_UID" ]; then if [ -n "$KDE_SESSION_UID" ]; then
kbuildsycoca4 kbuildsycoca4

View File

@ -13,7 +13,7 @@ if [ $# -lt 1 ]; then
fi fi
if ls $APPSDIR/*.directory $APPSDIR/*.desktop > /dev/null 2>&1; then if ls $APPSDIR/*.directory $APPSDIR/*.desktop > /dev/null 2>&1; then
xdg-desktop-menu uninstall $APPSDIR/*.directory $APPSDIR/*.desktop LC_COLLATE=C xdg-desktop-menu uninstall $APPSDIR/*.directory $APPSDIR/*.desktop
rm -f $APPSDIR/*.desktop $APPSDIR/*.directory rm -f $APPSDIR/*.desktop $APPSDIR/*.directory
rm -f $HOME/.config/menus/applications-merged/user-$VMNAME-vm.menu rm -f $HOME/.config/menus/applications-merged/user-$VMNAME-vm.menu
fi fi