Kill run_template(), use setup_tmpl() instead.

--HG--
extra : convert_revision : 6aaf4f637d28f476e88c05ee8608e418642a01fa
This commit is contained in:
Juan RP 2009-11-23 05:30:04 +00:00
parent d9dc381cfd
commit dbb02a1930
6 changed files with 15 additions and 29 deletions

View file

@ -51,7 +51,7 @@ stow_pkg_handler()
else
unstow_pkg_real || return $?
fi
run_template ${sourcepkg}
setup_tmpl ${sourcepkg}
done
if [ "$action" = "stow" ]; then
@ -80,7 +80,7 @@ stow_pkg_real()
[ ! -d ${DESTDIR} ] && mkdir -p ${DESTDIR}
fi
[ -n "$stow_flag" ] && run_template $pkgname
[ -n "$stow_flag" ] && setup_tmpl $pkgname
cd ${DESTDIR} || exit 1
@ -120,7 +120,7 @@ unstow_pkg_real()
msg_error "cannot unstow $pkgname! (permission denied)"
fi
run_template $pkgname
setup_tmpl $pkgname
ver=$($XBPS_PKGDB_CMD version $pkgname)
if [ -z "$ver" ]; then