X-Git-Url: https://pd.if.org/git/?p=zpackage;a=blobdiff_plain;f=zpm-update;h=c85b0edf9fc7e9944015da2659cd6c160008ae5a;hp=3423ff6bdcd03248643ecc8872df09fa90c28aca;hb=1323381f0eeb38466d8afc185a5295e4b5024bd5;hpb=293e281d6bd4b9c2c1de146184835ed34dc87b05 diff --git a/zpm-update b/zpm-update index 3423ff6..c85b0ed 100755 --- a/zpm-update +++ b/zpm-update @@ -31,6 +31,7 @@ die() { zpm log -i -a 'aborted install' -t "$pkgid" "$*" changeall installing changeall removing installed + changeall updating installed exit 1 } @@ -277,6 +278,7 @@ if [ -n "$to_install" ]; then for pkgid in $to_install; do zpm pkg $pkgid status=installing done + zpm shell "$ZPMDB" "update packages set status='updating' where status='installed' and package in (select package from packages where status = 'installing')" fi if [ -n "$to_remove" ]; then @@ -318,6 +320,7 @@ if [ -n "$to_remove" ]; then fi changeall removing removed +changeall updating updated echo running ldconfig run_ldconfig $rootdir