wok-current annotate slitaz-boot-scripts/stuff/fix-openbox-menu-link.patch @ rev 25792

Fix openbox menu, label keymap on lxpanel and add miss it translation for tazpkg
author Stanislas Leduc <shann@slitaz.org>
date Tue Oct 07 05:55:24 2025 +0000 (2 weeks ago)
parents
children 345e3c7dcfd9
rev   line source
shann@25792 1 --- a/etc/init.d/system.sh
shann@25792 2 +++ b/etc/init.d/system.sh
shann@25792 3 @@ -60,6 +60,11 @@
shann@25792 4 echo "$tz" > /etc/TZ
shann@25792 5 fi
shann@25792 6
shann@25792 7 +# Ensure Openbox menu is linked correctly
shann@25792 8 +case "${LANG%%_*}" in
shann@25792 9 + de|fr|it|ru) ln -sf menu.${LANG%%_*}.xml /etc/xdg/openbox/menu.xml ;;
shann@25792 10 +esac
shann@25792 11 +
shann@25792 12 # Activate an eventual swap file or partition
shann@25792 13 if ! grep -q 'noswap' /proc/cmdline; then
shann@25792 14 if blkid | grep -q 'TYPE="swap"'; then