wok-current view slitaz-boot-scripts/stuff/fix-openbox-menu-link.patch @ rev 25793
Fix miss condition for openbox symlink menu
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Wed Oct 08 08:20:35 2025 +0000 (2 weeks ago) |
parents | 54e4a2dfa8ae |
children |
line source
1 --- a/etc/init.d/system.sh
2 +++ b/etc/init.d/system.sh
3 @@ -60,6 +60,13 @@
4 echo "$tz" > /etc/TZ
5 fi
7 +# Ensure Openbox menu is linked correctly
8 +if [ -f /etc/xdg/openbox/menu.xml ]; then
9 +case "${LANG%%_*}" in
10 + de|fr|it|ru) ln -sf menu.${LANG%%_*}.xml /etc/xdg/openbox/menu.xml ;;
11 +esac
12 +fi
13 +
14 # Activate an eventual swap file or partition
15 if ! grep -q 'noswap' /proc/cmdline; then
16 if blkid | grep -q 'TYPE="swap"'; then