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

@@ -93,9 +93,9 @@ setup_tmpl()
. $XBPS_SHUTILSDIR/tmpl_vars.sh
if [ -f "$XBPS_TEMPLATESDIR/$pkg.tmpl" ]; then
if [ -f "$XBPS_TEMPLATESDIR/$pkg/template" ]; then
if [ "$pkgname" != "$pkg" ]; then
. $XBPS_TEMPLATESDIR/$pkg.tmpl
. $XBPS_TEMPLATESDIR/$pkg/template
fi
prepare_tmpl
else