X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=zpm-install;h=cf0df5f2e89f49ca567188cb27df629ef9728ada;hb=c42956d483a79cb96ac9d9f8d1f173915c045afd;hp=994ed195d14bc5c24ed7a68d4b0e24eaaa9bba1a;hpb=bdaf2b364190e213f7aa67657c85e56a549ece11;p=zpackage diff --git a/zpm-install b/zpm-install index 994ed19..cf0df5f 100755 --- a/zpm-install +++ b/zpm-install @@ -119,6 +119,7 @@ for pkgstr in "$@"; do eval $(zpm parse -E $pkgid) + #zpm list -v current=$(zpm list -s installed "$package") if [ $runscripts -gt 0 ]; then @@ -138,6 +139,7 @@ for pkgstr in "$@"; do fi fi + #zpm shell $ZPMDB 'select * from install_status' 1>&2 if [ $dryrun -gt 0 ]; then #zpm list -v #zpm shell $ZPMDB 'select * from install_status' @@ -162,6 +164,8 @@ for pkgstr in "$@"; do zpm pkg $pkgid status=installed fi + # TODO skip configure if not on a terminal, regardless of settings + # TODO will need force option if [ $runconfigure -gt 0 ]; then zpm runscript -f $pkgfile -p configure $pkgid $current fi