diff options
author | Frederic Crozat <fcrozat@mandriva.com> | 2006-10-26 16:04:10 +0000 |
---|---|---|
committer | Frederic Crozat <fcrozat@mandriva.com> | 2006-10-26 16:04:10 +0000 |
commit | 7bdda0dda74c0c2efe835ea9c791a92f0520eb3f (patch) | |
tree | 289ebadc507bf85c6a7a0c6afae67c1da36b28ae /menu/update-menus | |
parent | 53b90c6fa4afd097cb3168371315d10dd91c4edc (diff) | |
download | common-data-7bdda0dda74c0c2efe835ea9c791a92f0520eb3f.tar common-data-7bdda0dda74c0c2efe835ea9c791a92f0520eb3f.tar.gz common-data-7bdda0dda74c0c2efe835ea9c791a92f0520eb3f.tar.bz2 common-data-7bdda0dda74c0c2efe835ea9c791a92f0520eb3f.tar.xz common-data-7bdda0dda74c0c2efe835ea9c791a92f0520eb3f.zip |
- Fix update-menus script to not output empty line
- Re-add menu file stamp to prevent restarting update-menus for each
graphical login
Diffstat (limited to 'menu/update-menus')
-rwxr-xr-x | menu/update-menus | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/menu/update-menus b/menu/update-menus index 7baeb12..bd21520 100755 --- a/menu/update-menus +++ b/menu/update-menus @@ -38,7 +38,11 @@ export VERBOSE export USER_MENU if [ -d /etc/menu.d ]; then - run-parts $RUN_PARTS_ARG /etc/menu.d - echo + run-parts $RUN_PARTS_ARG /etc/menu.d + if [ "$USER_MENU" = "1" ]; then + touch "$HOME/.menu-updates.stamp" 2> /dev/null + else + touch /var/lib/menu/.menu-updates.stamp 2> /dev/null + fi fi |