CVS: theedge/sbin lin,1.58,1.59 lrm,1.15,1.16
    elaine at lunar-linux.org 
    elaine at lunar-linux.org
       
    Mon Jul 28 17:40:44 GMT 2003
    
        - Previous message: CVS: crater/gnome2-core/gnome-panel DETAILS,1.21,1.22
 
        - Next message: CVS: theedge/var/lib/lunar/functions build.lunar, 1.6,
	1.7 check.lunar, 1.2, 1.3 config.lunar, 1.1.1.1,
	1.2 connect.lunar, 1.1, 1.2 depends.lunar, 1.13,
	1.14 download.lunar, 1.27, 1.28 edit.lunar, 1.5,
	1.6 init.lunar, 1.2, 1.3 install.lunar, 1.9,
	1.10 locking.lunar, 1.2, 1.3 main.lunar, 1.1,
	1.2 messages.lunar, 1.7, 1.8 misc.lunar, 1.2,
	1.3 modules.lunar, 1.22, 1.23 moonbase.lunar, 1.9,
	1.10 optimize.lunar, 1.37, 1.38 postbuild.lunar, 1.5,
	1.6 prune.lunar, 1.3, 1.4 queue.lunar, 1.1.1.1,
	1.2 recovery.lunar, 1.1.1.1, 1.2 sizes.lunar, 1.2,
	1.3 sources.lunar, 1.11, 1.12 temp.lunar, 1.2,
	1.3 tracking.lunar, 1.2, 1.3 uniqid.lunar, 1.3,
	1.4 updatelog.lunar, 1.10, 1.11 useradd.lunar, 1.2,
	1.3 view.lunar, 1.1, 1.2
 
         -  Messages sorted by: 
              [ date ]
              [ thread ]
              [ subject ]
              [ author ]
         
 
       
    
  
Update of /var/cvs/lunar/theedge/sbin
In directory dbguin.lunar-linux.org:/tmp/cvs-serv27591
Modified Files:
	lin lrm 
Log Message:
Changed DEBUG to LUNAR_DEBUG, lin still needs it's functions debug-ized
Index: lin
===================================================================
RCS file: /var/cvs/lunar/theedge/sbin/lin,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -d -r1.58 -r1.59
--- lin	22 Jul 2003 21:01:29 -0000	1.58
+++ lin	28 Jul 2003 17:40:42 -0000	1.59
@@ -44,6 +44,7 @@
     |  --deps			Configure modules and determine dependencies, 
 				but do not lin.
 
+       --debug                  show debug output
 -p  |  --probe                  Only lin if not already installed
 
 -c  |  --compile		Ignore $INSTALL_CACHE and compiles
@@ -77,6 +78,7 @@
 	 		   export FIX="$1";            shift 1  ;;
                       -s)  export SEPARATE="$1";       shift 1  ;;
                    --url)  export BASE_URL="$2";       shift 2  ;;
+                 --debug)  export LUNAR_DEBUG=on;      shift    ;;
                    --pam)  lin -c $(find_pam_aware);   shift 1  ;;
                        *)  help                                 ;;
       esac
Index: lrm
===================================================================
RCS file: /var/cvs/lunar/theedge/sbin/lrm,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- lrm	27 Jul 2003 23:36:47 -0000	1.15
+++ lrm	28 Jul 2003 17:40:42 -0000	1.16
@@ -143,7 +143,7 @@
    export TEMP_FILE=$(temp_create "lrm")
    export TEMP2_FILE=$(temp_create "lrm")
 
-   [ "$DEBUG" == "on" ] && 
+   [ "$LUNAR_DEBUG" == "on" ] && 
    [ -s "$LRM_QUEUE" ]    && 
       echo -e "\nWill process the modules: `cat $LRM_QUEUE | xargs`"
 
@@ -264,18 +264,18 @@
    {
       verbose_msg "\"$I_VERSION\" of \"$MODULE\" is installed at the moment"
 
-      [ "$DEBUG" == "on" ] && 
+      [ "$LUNAR_DEBUG" == "on" ] && 
          echo -n "  Checking if desired version is the installed version..."
 
       [ "$1" == "$I_VERSION" ] && 
       {
-         [ "$DEBUG" == "on" ] && echo "YES!!"
+         [ "$LUNAR_DEBUG" == "on" ] && echo "YES!!"
          echo "The downgrade version is the same as the installed version"
          echo "Here is the available files." 
          list_available_cache
       } || 
       {
-         [ "$DEBUG" == "on" ] && echo "NO"
+         [ "$LUNAR_DEBUG" == "on" ] && echo "NO"
       }
 
       verbose_msg "removing \"$MODULE-$I_VERSION\""
@@ -289,7 +289,7 @@
    verbose_msg "extracting cached install file..."
    [ "$TEST" == "on" ] && 
    {
-      [ "$DEBUG" == "on" ] &&
+      [ "$LUNAR_DEBUG" == "on" ] &&
       bzcat $INSTALL_CACHE/$FILENAME | tar -kt $TAR_P -C /  ||
       bzcat $INSTALL_CACHE/$FILENAME | tar -kt $TAR_P -C / >/dev/null
       verbose_msg "adding module to installed list"
@@ -297,7 +297,7 @@
 
    [ "$TEST" != "on" ] && 
    {
-      [ "$DEBUG" == "on" ] &&
+      [ "$LUNAR_DEBUG" == "on" ] &&
       bzcat $INSTALL_CACHE/$FILENAME | tar -kx $TAR_P -C / ||
       bzcat $INSTALL_CACHE/$FILENAME | 
       tar -kx $TAR_P -C / 2>/dev/null >/dev/null
@@ -378,7 +378,7 @@
       -s|--nosustain  ) export NOSUSTAIN=on;   shift ;;
       -k|--keepconfig ) export KEEPCONFIG=on;  shift ;;
       -t|--test       ) export TEST=on;        shift ;;
-      --debug         ) export DEBUG=on; shift;;
+      --debug         ) export LUNAR_DEBUG=on; shift;;
       --) shift; break ;;
        *) help;  break ;;
    esac
    
    
        
	- Previous message: CVS: crater/gnome2-core/gnome-panel DETAILS,1.21,1.22
 
	- Next message: CVS: theedge/var/lib/lunar/functions build.lunar, 1.6,
	1.7 check.lunar, 1.2, 1.3 config.lunar, 1.1.1.1,
	1.2 connect.lunar, 1.1, 1.2 depends.lunar, 1.13,
	1.14 download.lunar, 1.27, 1.28 edit.lunar, 1.5,
	1.6 init.lunar, 1.2, 1.3 install.lunar, 1.9,
	1.10 locking.lunar, 1.2, 1.3 main.lunar, 1.1,
	1.2 messages.lunar, 1.7, 1.8 misc.lunar, 1.2,
	1.3 modules.lunar, 1.22, 1.23 moonbase.lunar, 1.9,
	1.10 optimize.lunar, 1.37, 1.38 postbuild.lunar, 1.5,
	1.6 prune.lunar, 1.3, 1.4 queue.lunar, 1.1.1.1,
	1.2 recovery.lunar, 1.1.1.1, 1.2 sizes.lunar, 1.2,
	1.3 sources.lunar, 1.11, 1.12 temp.lunar, 1.2,
	1.3 tracking.lunar, 1.2, 1.3 uniqid.lunar, 1.3,
	1.4 updatelog.lunar, 1.10, 1.11 useradd.lunar, 1.2,
	1.3 view.lunar, 1.1, 1.2
 
         -  Messages sorted by: 
              [ date ]
              [ thread ]
              [ subject ]
              [ author ]
         
 
       
More information about the Lunar-commits
mailing list