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:
parent
6c252d43d4
commit
fa2748d9b2
291 changed files with 25 additions and 24 deletions
|
@ -125,13 +125,13 @@ _EOF
|
|||
chmod 644 $metadir/*
|
||||
rm -f $TMPFLIST $TMPFPROPS
|
||||
|
||||
if [ -f "$XBPS_TEMPLATESDIR/$pkgname.prepost-inst" ]; then
|
||||
cp -f $XBPS_TEMPLATESDIR/$pkgname.prepost-inst \
|
||||
if [ -f "$XBPS_TEMPLATESDIR/$pkgname/prepost-inst" ]; then
|
||||
cp -f $XBPS_TEMPLATESDIR/$pkgname/prepost-inst \
|
||||
$destdir/XBPS_PREPOST_INSTALL
|
||||
chmod +x $destdir/XBPS_PREPOST_INSTALL
|
||||
fi
|
||||
if [ -f "$XBPS_TEMPLATESDIR/$pkgname.prepost-rm" ]; then
|
||||
cp -f $XBPS_TEMPLATESDIR/$pkgname.prepost-rm \
|
||||
if [ -f "$XBPS_TEMPLATESDIR/$pkgname/prepost-rm" ]; then
|
||||
cp -f $XBPS_TEMPLATESDIR/$pkgname/prepost-rm \
|
||||
$metadir/prepost-rm
|
||||
chmod +x $metadir/prepost-rm
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue