Reorganize the templates directory for possible future changes.

Now every template uses its own directory. Patches, prepost* files
and other related stuff are stored there.

--HG--
extra : convert_revision : bbc529ef161d9a59fe13a1d54ac058f77ea05845
This commit is contained in:
Juan RP 2009-02-03 21:35:57 +01:00
parent 6c252d43d4
commit fa2748d9b2
291 changed files with 25 additions and 24 deletions

View file

@ -239,7 +239,7 @@ if [ "$(id -u)" -ne 0 ]; then
if [ -n "$origin_tmpl" ]; then
. $XBPS_SHUTILSDIR/tmpl_funcs.sh
reset_tmpl_vars
run_file $XBPS_TEMPLATESDIR/$origin_tmpl.tmpl
run_file $XBPS_TEMPLATESDIR/$origin_tmpl/template
fi
echo "The '$pkgname' package requires to be installed in a chroot."
echo "You cannot do this as normal user, try again being root."