--- wpkg.js.0.9.10-test2	2006-06-22 21:28:41.000000000 +0200
+++ wpkg.js	2006-06-25 11:20:20.000000000 +0200
@@ -91,16 +91,16 @@
  ******************************************************************************/
 
 // script wide properties
-var force;        // when true: doesn't consider wpkg.xml but checks existence of packages.
-var forceInstall; // forces instalation over existing packages
+var force = false;        // when true: doesn't consider wpkg.xml but checks existence of packages.
+var forceInstall = false; // forces instalation over existing packages
 
-var quitonerror;
+var quitonerror = false;
 
 var err_summary = "";
-var debug;
-var dryrun;
+var debug = false;
+var dryrun = false;
 
-var quiet;
+var quiet = false;
 var profile;
 var host;
 var base;
@@ -176,16 +176,12 @@
     // process property named arguments that set values
     if (isArgSet(argv, "/debug") || isArgSet(argv, "/verbose")) {
         debug = true;
-    } else {
-        debug = false;
     }
     
     // process property named arguments that set values
     if (isArgSet(argv, "/dryrun")) {
         dryrun = true;
         debug = true;
-    } else {
-        dryrun = false;
     }
     
     // if the user is wanting command help, give it to him
@@ -197,8 +193,6 @@
     // process property named arguments that set values
     if (isArgSet(argv, "/quiet")) {
         quiet = true;
-    } else {
-        quiet = false;
     }
 
     // if the user passes /nonotify, we don't want to notify the user
@@ -214,22 +208,16 @@
     // process property named arguments that set values
     if (isArgSet(argv, "/force")) {
         force = true;
-    } else {
-        force = false;
     }
 
     // process property named arguments that set values
     if (isArgSet(argv, "/quitonerror")) {
         quitonerror = true;
-    } else {
-        quitonerror = false;
     }
     
     // process property named arguments that set values
     if (isArgSet(argv, "/forceinstall")) {
         forceInstall = true;
-    } else {
-        forceInstall = false;
     }
     
     if (argn("rebootcmd") != null) {
