]> pd.if.org Git - zpackage/commitdiff
add version and release to output of showpkg
authorNathan Wagner <nw@hydaspes.if.org>
Wed, 28 Sep 2016 23:22:07 +0000 (23:22 +0000)
committerNathan Wagner <nw@hydaspes.if.org>
Wed, 28 Sep 2016 23:23:29 +0000 (23:23 +0000)
zpm-showpkg

index 2322f6f58797171b94b5df49e0d483eba96216e7..4bc61ac4b9fe4cf5edbe460516fdd38b4c49f0f0 100755 (executable)
@@ -5,7 +5,7 @@ for pkgfile in $*; do
 
        sqlite3 $pkgfile <<EOS
 .separator "\t"
-select package, path || case when hash is null then '/' else '' end from packagefiles
+select package, version, release, path || case when hash is null then '/' else '' end from packagefiles
 ;
 EOS