eval $(zpm parse -E $pkgid)
+ #zpm list -v
current=$(zpm list -s installed "$package")
if [ $runscripts -gt 0 ]; then
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'
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