Simplify template files by removing run_stuff_<stage>_<phase> variables.
Now if a file "$pkgname-runstuff-<stage>-<phase>.sh" exists in PKGFS_TEMPLATESDIR exists, it's executed automatically. Therefore templates are simplified a lot. --HG-- extra : convert_revision : 94f1da6424d3df70ef763d4339cf4d8e778ccbac
This commit is contained in:
@@ -18,11 +18,3 @@ long_desc="
|
||||
different entities. They can, for example, map public identifiers to
|
||||
local files or URIs. This allows you to tell the parser where to look
|
||||
for entities without having to modify the original document source."
|
||||
|
||||
# Prepare and install the catalogs.
|
||||
run_stuff_after="install"
|
||||
run_stuff_after_install_file="
|
||||
$PKGFS_TEMPLATESDIR/$pkgname-runstuff-after-install.sh"
|
||||
run_stuff_before="install"
|
||||
run_stuff_before_install_file="
|
||||
$PKGFS_TEMPLATESDIR/$pkgname-runstuff-before-install.sh"
|
||||
|
||||
Reference in New Issue
Block a user