[rhinstaller/anaconda/pulls/80 master] Add kickstart %pre-install section support
vpodzime
installerbot-noreply at redhat.com
Tue Apr 21 06:13:44 UTC 2015
> @@ -2121,6 +2123,16 @@ def runPreScripts(scripts):
>
> log.info("All kickstart %%pre script(s) have been run")
>
> +def runPreInstallScripts(scripts):
> + preInstallScripts = [s for s in scripts if s.type == KS_SCRIPT_PREINSTALL]
> +
> + if len(preInstallScripts) == 0:
``if not any(preInstallScripts):`` would do the same, so in case you (too) like it better, you can use it here.
--
To view this pull request on github, visit https://github.com/rhinstaller/anaconda/pull/80#discussion_r28752311
More information about the anaconda-patches
mailing list