Commits

Anonymous committed 33aec2c

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

  • Participants
  • Parent commits 93eb9dc

Comments (0)

Files changed (1)

         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