appmenus: force ASCII sort order
In some locales (namely Estonian) [A-Z] doesn't match all the letters.
This commit is contained in:
parent
8dbbf6a9a7
commit
acb8657735
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user