diff --git a/share/runtime-cleanup.tmpl b/share/runtime-cleanup.tmpl index a93238a0..407c828f 100644 --- a/share/runtime-cleanup.tmpl +++ b/share/runtime-cleanup.tmpl @@ -180,7 +180,7 @@ removepkg xorg-x11-xauth removepkg xorg-x11-xinit removepkg yajl removepkg yum-utils -run_pkg_transaction --noscripts +run_pkg_transaction ## other removals remove /usr/share/doc diff --git a/src/pylorax/treebuilder.py b/src/pylorax/treebuilder.py index de87885a..b21969e7 100644 --- a/src/pylorax/treebuilder.py +++ b/src/pylorax/treebuilder.py @@ -347,9 +347,7 @@ class TemplateRunner(object): filepaths = [f.lstrip('/') for f in pkg.filelist] self.remove(*filepaths) - def run_pkg_transaction(self, *args): - if '--noscripts' in args: - self.yum.conf.tsflags.append("noscripts") + def run_pkg_transaction(self): self.yum.buildTransaction() self.yum.repos.setProgressBar(LoraxDownloadCallback()) self.yum.processTransaction(callback=LoraxTransactionCallback(),