shutils: use xbps-pkgdb getpkg{name,version}, remove item from TODO.

--HG--
extra : convert_revision : 69927380509b3bc6b3f80ee3cbc44953bdd2b729
This commit is contained in:
Juan RP
2009-02-17 13:58:34 +01:00
parent 3d308188b7
commit 0bb1780f8e
4 changed files with 47 additions and 37 deletions

View File

@@ -65,10 +65,7 @@ stow_pkg()
#
# Run template postinstall helpers if requested.
#
if [ "$pkgname" != "${pkg%%-$version}" ]; then
. $XBPS_TEMPLATESDIR/${pkg%%-$version}/template
fi
run_template $pkgname
for i in ${postinstall_helpers}; do
local pihf="$XBPS_HELPERSDIR/$i"
[ -f "$pihf" ] && . $pihf