Hi Eric

Eric Spakman wrote:
> Hi Erich,
> 
> That's indeed not how it's meant to be, can you provide a patch?

I could, but diff does not like the
echo -n \^H


so this may only apply partially

--- lrcfg.backup.old    Thu Aug 30 15:00:50 2007
+++ lrcfg.backup        Thu Aug 30 15:00:37 2007
@@ -27,14 +27,19 @@
 PACKAGE=$1;            test $PACKAGE != "configdb" -a $PACKAGE !=
"moddb" && usage
 DIR="/tmp"

+LRPKG=${LRPKG:-"/var/lib/lrpkg"}
+. ${LRPKG}/backup
+
 echo -n "Creating $PACKAGE.lrp Please wait: "
 ticker &
        cd /
         if [ $PACKAGE = configdb ] ; then
            /usr/sbin/apkg -o $DIR > /dev/null 2>&1
+           PACKAGE=${configdb}
         fi
        if [ $PACKAGE = moddb ] ; then
            /usr/sbin/apkg -d $DIR > /dev/null 2>&1
+           PACKAGE=${moddb}
        fi
 killall ticker >/dev/null 2>&1


and of yourse patches are not mail friendly, so I will send it in a
separate mail

cheers

Erich


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
------------------------------------------------------------------------
leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/

Reply via email to