SOURCES: e16-e_gen_menu - more fixes
sparky
sparky at pld-linux.org
Wed Jul 19 04:15:04 CEST 2006
Author: sparky Date: Wed Jul 19 02:15:04 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- more fixes
---- Files affected:
SOURCES:
e16-e_gen_menu (1.5 -> 1.6)
---- Diffs:
================================================================
Index: SOURCES/e16-e_gen_menu
diff -u SOURCES/e16-e_gen_menu:1.5 SOURCES/e16-e_gen_menu:1.6
--- SOURCES/e16-e_gen_menu:1.5 Wed Jul 19 04:05:09 2006
+++ SOURCES/e16-e_gen_menu Wed Jul 19 04:14:58 2006
@@ -38,20 +38,17 @@
vfmg e16
rm -rf $EDirUser/menus.old
-mv -f $EDirUser/file.menu{,.oldmenu}
-ln -s menus/index.menu $EDirUser/file.menu
+ln -s index.menu $EDirUser/menus/file.menu
-if [ ! -r $EDirUser/file.menu -o \
+if [ ! -r $EDirUser/menus/file.menu -o \
$(ls $EDirUser/menus | wc -l) -lt 5 ]; then
rm -rf $EDirUser/menus
mv $EDirUser/menus{.oldmenu,}
- mv -f $EDirUser/file.menu{.oldmenu,}
e_dialog msg ".${SPACE}Something went wrong !${SPACE}.&Old menus reverted."
else
rm -rf $EDirUser/menus.oldmenu
- rm -f $EDirUser/file.menu.oldmenu
e_dialog msg ".${SPACE}Seems to be OK.${SPACE}.&Old menus deleted."
echo "$LANG" > $EDirUser/menus/lang
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/e16-e_gen_menu?r1=1.5&r2=1.6&f=u
More information about the pld-cvs-commit
mailing list