tryrun zpm newpackage -f $pkgid.zpm $pkgid
if [ $? -eq 0 ]; then
shift
- tryrun zpm add -u $owner -g $group -f $pkgid.zpm $pkgid "$@"
+ tryrun zpm add -u $owner -g $group -f $pkgid.zpm -p $pkgid "$@"
return $?
else
skip 1 not adding files init failed
#require zpm init $PF
#require zpm newpackage -f $PF $pkgid
-#require zpm add -f $PF $pkgid /bin/true
+#require zpm add -f $PF -p $pkgid /bin/true
#
# install via syncfs
okstreq "$newver" "2.0" "have updated version"
rm -f test.out
-tryrun zpm add -f $PF itest /bin/false
+tryrun zpm add -f $PF -p itest /bin/false
if [ $? -ne 0 ]; then
diag h2
cat test.out | diagstdin