Kaydet (Commit) 35bf19d0 authored tarafından S.Çağlar Onur's avatar S.Çağlar Onur

seçeneğin ismi --postpone yerine --postpone-postinstall yapıldı, kısa hali…

seçeneğin ismi --postpone yerine --postpone-postinstall yapıldı, kısa hali çıkartıldı, bunu illa isteyen uzun uzun yazsın diye karar verdik :)
üst cfcec313
......@@ -140,7 +140,7 @@ def package_graph(A, ignore_installed = False):
B = Bp
return G_f
def postpone(package):
def postpone_postinstall(package):
try:
import pisi.comariface as comariface
comariface.register(package)
......
......@@ -84,7 +84,7 @@ class Install(AtomicOperation):
if ctx.comar:
import pisi.comariface as comariface
self.register_comar_scripts()
if not ctx.config.options.postpone:
if not ctx.config.options.postpone_postinstall:
comariface.run_postinstall(self.pkginfo.name)
self.update_databases()
self.update_environment()
......
......@@ -336,7 +336,7 @@ class PackageOp(Command):
p = self.parser
p.add_option("-B", "--ignore-comar", action="store_true",
default=False, help=_("bypass comar configuration agent"))
p.add_option("-V", "--postpone", action="store_true",
p.add_option("", "--postpone-postinstall", action="store_true",
default=False, help=_("Postpone postinstall script"))
ignoredep_opt(self)
......
......@@ -140,7 +140,7 @@ class InstallDB:
pkg = str(pkg)
if self.is_installed(pkg):
raise InstallDBError(_("Already installed"))
if ctx.config.get_option('postpone'):
if ctx.config.get_option('postpone-postinstall'):
state = 'ip'
self.dp[pkg] = True
else:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment