[Lunar-commits]
CVS: theedge/var/lib/lunar/functions recovery.lunar, 1.7, 1.8
Auke Kok
sofar at lunar-linux.org
Wed Mar 9 15:26:48 UTC 2005
Update of /var/cvs/lunar/theedge/var/lib/lunar/functions
In directory espresso.foo-projects.org:/home/sofar/active/theedge/var/lib/lunar/functions
Modified Files:
recovery.lunar
Log Message:
Suggested by florin, also fixed the line above the fix needed.
Index: recovery.lunar
===================================================================
RCS file: /var/cvs/lunar/theedge/var/lib/lunar/functions/recovery.lunar,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- recovery.lunar 21 May 2004 10:27:13 -0000 1.7
+++ recovery.lunar 9 Mar 2005 15:26:46 -0000 1.8
@@ -54,8 +54,8 @@
lock_file $MODULE_STATUS &&
lock_file $MODULE_STATUS_BACKUP &&
# adjusted add_module code that echos the DATE field ;^)
- grep -v "^$1:" $MODULE_STATUS_BACKUP >$MODULE_STATUS 2>/dev/null &&
- echo "$1:$DATE:$2:$3:$4" >>$MODULE_STATUS &&
+ grep -v "^$REAL_NAME:" $MODULE_STATUS_BACKUP >$MODULE_STATUS 2>/dev/null &&
+ echo "$REAL_NAME:$DATE:installed:$VERSION:$SIZE" >>$MODULE_STATUS &&
cat $MODULE_STATUS >$MODULE_STATUS_BACKUP &&
unlock_file $MODULE_STATUS_BACKUP &&
unlock_file $MODULE_STATUS
More information about the Lunar-commits
mailing list