From 73512e40cb31482687064c58a41833c6b919d3ff Mon Sep 17 00:00:00 2001 From: Steven Penny Date: Wed, 21 May 2014 23:44:30 -0500 Subject: [PATCH] Restore noscripts option This is needed as per @kou1okada comment on 44e89c6 --- apt-cyg | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/apt-cyg b/apt-cyg index ab882dd..011caad 100755 --- a/apt-cyg +++ b/apt-cyg @@ -145,6 +145,11 @@ do shift 2 ;; + --noscripts) + noscripts=1 + shift + ;; + --help) usage exit 0 @@ -452,7 +457,7 @@ case "$command" in echo Package $package is already installed, skipping continue fi - apt-cyg install $package || (( warn++ )) + apt-cyg install --noscripts $package || (( warn++ )) done fi if (( warn )) @@ -462,6 +467,7 @@ case "$command" in # run all postinstall scripts + (( noscripts )) && continue find /etc/postinstall -name '*.sh' | while read script do echo Running $script