File netconfig-createtime-fix.diff of Package sysconfig

Index: scripts/netconfig
===================================================================
--- scripts/netconfig	(Revision 1767)
+++ scripts/netconfig	(Arbeitskopie)
@@ -108,9 +108,9 @@
         CFGFILE="$STATEDIR/NetworkManager.netconfig"
 
         # first get the createtime. we want to keep it.
-	get_variable "CREATETIME" "$CFGFILE"
-        KEYS[0]='CREATETIME'
-        VALS[0]="$CREATETIME"
+	get_variable CREATETIME "$CFGFILE"
+	KEYS[0]='CREATETIME'
+	VALS[0]="$CREATETIME"
 
         # remove it also in modify.
         # We want to create it with the same name again.
@@ -139,6 +139,8 @@
         if [ "x$CFGFILE" != "x" ]; then
             # first get the createtime. we want to keep it.
             get_variable CREATETIME "$CFGFILE"
+            KEYS[0]='CREATETIME'
+            VALS[0]="$CREATETIME"
 
             # remove it also in modify. 
             # We want to create it with the same name again.
openSUSE Build Service is sponsored by