X-Git-Url: https://pd.if.org/git/?p=zpackage;a=blobdiff_plain;f=zpm-install;h=8d92ff7e5e51baddde1603c6e3c3dd856ebab275;hp=0d2055af5b0ff82ae726f9a67e7af8c6c19695d4;hb=982b9cc4e1e5eeaa3ef9eb2e6b6ada729e1ebc61;hpb=5cc943f078123837c33a4eeebf6eb96a581ddb47 diff --git a/zpm-install b/zpm-install index 0d2055a..8d92ff7 100755 --- a/zpm-install +++ b/zpm-install @@ -216,9 +216,9 @@ for pkgid in $pkglist; do current=$(zpm list -s installed "$package") if [ $runscripts -gt 0 ]; then - zpm script -f $pkgfile -p post-install $pkgid $current + zpm script -p post-install $pkgid $current else - if zpm script -f $pkgfile -Fql -p post-install $pkgid; then + if zpm script -Fql -p post-install $pkgid; then zpm note -e -p $pkgid -m 'post-install script not run' fi fi @@ -232,9 +232,9 @@ for pkgid in $pkglist; do # TODO skip configure if not on a terminal, regardless of settings # TODO will need force option if [ $runconfigure -gt 0 ]; then - zpm script -f $pkgfile -p configure $pkgid + zpm script -p configure $pkgid else - if zpm script -f $pkgfile -Fql -p configure $pkgid; then + if zpm script -Fql -p configure $pkgid; then zpm note -e -p $pkgid -m 'configure script not run' fi fi