runscripts=1
runconfigure=1
localdb=/var/lib/zpm/local.db
# zpm-install [-SCn] [ -d localdb ] [ -f pkgfile ] [ -R installroot ] pkgstr ...
runscripts=1
runconfigure=1
localdb=/var/lib/zpm/local.db
# zpm-install [-SCn] [ -d localdb ] [ -f pkgfile ] [ -R installroot ] pkgstr ...
# --F 001 error, wouldn't know which pkgid to create, could derive from file?
# C-F 101 error, since package wouldn't exist in file to find
if [ -z "$release" ]; then
# --F 001 error, wouldn't know which pkgid to create, could derive from file?
# C-F 101 error, since package wouldn't exist in file to find
if [ -z "$release" ]; then
- # need a way to update multiple statuses all in one
- # zpm pkgstatus $pkgid installed $pkgid updated
- zpm pkg $pkgid status installed
+
+ if [ -n "$current" ]; then
+ zpm pkg $pkgid status=installed :$current status=updated
+ else
+ zpm pkg $pkgid status=installed
+ fi
+