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 :)

This commit is contained in:
S.Çağlar Onur
2005-10-25 11:35:31 +00:00
parent cfcec31367
commit 35bf19d0fe
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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)
+1 -1
View File
@@ -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()
+1 -1
View File
@@ -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)
+1 -1
View File
@@ -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: