diff --git a/scripts/prt-auf b/scripts/prt-auf index c1e405b..f60379f 100755 --- a/scripts/prt-auf +++ b/scripts/prt-auf @@ -249,7 +249,7 @@ sub parse_prt_conf { } } } - $opkg{runscripts} = $1 if /^runscripts\s+(.*)#/; + $opkg{runscripts} = $1 if /^runscripts\s+(yes|no)\s+#/; $opkg{makecommand} = $1 if /^makecommand\s+(.*)#/; $opkg{addcommand} = $1 if /^addcommand\s+(.*)#/; $opkg{removecommand} =$1 if /^removecommand\s+(.*)#/; @@ -791,8 +791,7 @@ sub port_edit { } } -sub print_help { - print < [options] where the actions include: @@ -837,4 +836,5 @@ COMMON OPTIONS --cache use a cache file --test do not actually run pkgmk/pkgadd, just print the commands on STDOUT EOF + exit; }