X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=zpm-update;h=c85b0edf9fc7e9944015da2659cd6c160008ae5a;hb=4b46503646910df3617d4f2d44112eddf75d902b;hp=3423ff6bdcd03248643ecc8872df09fa90c28aca;hpb=881763b16a50b342676f3d59c2d883e2c39548ff;p=zpackage 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