]> pd.if.org Git - zpackage/blobdiff - zpm-add
change findpkg to use -f option
[zpackage] / zpm-add
diff --git a/zpm-add b/zpm-add
index 2b4dda692f822361ccc032aef314d7156404a724..1d68800a9c2faf5d68befb55620a393f47340142 100755 (executable)
--- a/zpm-add
+++ b/zpm-add
@@ -71,7 +71,7 @@ if [ -z "$release" ]; then
        if [ -z "$pkgfile" ]; then
                die "cannot determine package file"
        else
-               pkgstr=$(zpm findpkg $pkgfile $pkgid)
+               pkgstr=$(zpm findpkg -f $pkgfile $pkgid)
                if [ -z "$pkgstr" ]; then
                        die "unable to find package id for $pkgid in $pkgfile"
                fi