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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user