1. Moises Henriquez
  2. vlmaddon

Commits

m0e_lnx  committed 33aec2c

Correcting --config vs -c flag to avoid incorrect failure of install packages

  • Participants
  • Parent commits 93eb9dc
  • Branches default

Comments (0)

Files changed (1)

File utils/vl.py

View file
  • Ignore whitespace
         return out
 
     def install_package(self, pkgname):
-        proc = _get_popen(
-                "%s -c %s --no-md5 -y -i %s"% (self.manager,
-                    self.configfile, 
-                    pkgname))
+        iline = "%s --no-dep --config %s -y -i %s" % (
+                self.manager, self.configfile, pkgname)
+        proc = _get_popen(iline)
+#        proc = _get_popen(
+#                "%s -c %s --no-md5 -y -i %s"% (self.manager,
+#                    self.configfile, 
+#                    pkgname))
         out = proc.communicate(),proc.returncode
         return out