SOURCES: python-booty-menu.lst.patch - don't force a symlink

patrys patrys at pld-linux.org
Tue Nov 18 00:26:38 CET 2008


Author: patrys                       Date: Mon Nov 17 23:26:38 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- don't force a symlink

---- Files affected:
SOURCES:
   python-booty-menu.lst.patch (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SOURCES/python-booty-menu.lst.patch
diff -u SOURCES/python-booty-menu.lst.patch:1.2 SOURCES/python-booty-menu.lst.patch:1.3
--- SOURCES/python-booty-menu.lst.patch:1.2	Fri Dec 14 15:35:49 2007
+++ SOURCES/python-booty-menu.lst.patch	Tue Nov 18 00:26:32 2008
@@ -18,6 +18,14 @@
  
          try:
              # make symlink for menu.lst (default config file name)
+@@ -870,7 +870,6 @@
+             if os.access (instRoot + "/boot/grub/menu.lst", os.R_OK):
+                 os.rename(instRoot + "/boot/grub/menu.lst",
+                           instRoot + "/boot/grub/menu.lst.rpmsave")
+-            os.symlink("./grub.conf", instRoot + "/boot/grub/menu.lst")
+         except:
+             pass
+ 
 @@ -883,7 +883,7 @@
              if os.access (instRoot + "/etc/grub.conf", os.R_OK):
                  os.rename(instRoot + "/etc/grub.conf",
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/python-booty-menu.lst.patch?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list