summaryrefslogtreecommitdiff
path: root/templates/iso
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2012-09-10 23:42:19 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2012-09-10 23:42:19 +0200
commitc6c87093d3d8857b44faa9c702b45e39c3e473c9 (patch)
treee77aa22381a149411a9da271472cfc576c420c9a /templates/iso
parent9656b572123893b9f5a1853d1b51f77665047f3a (diff)
downloadplay-c6c87093d3d8857b44faa9c702b45e39c3e473c9.tar.gz
play-c6c87093d3d8857b44faa9c702b45e39c3e473c9.tar.bz2
play-c6c87093d3d8857b44faa9c702b45e39c3e473c9.zip
EXPORT now knows the template we are in -- no need to pass it
Diffstat (limited to 'templates/iso')
-rw-r--r--templates/iso12
1 files changed, 12 insertions, 0 deletions
diff --git a/templates/iso b/templates/iso
index ce3fd74..2aad3cd 100644
--- a/templates/iso
+++ b/templates/iso
@@ -14,4 +14,16 @@ case $ISO_TYPE in
*) die "Unknown ISO_TYPE: '$ISO_TYPE'";;
esac
+
+# wrapper phases
+
+iso_prepare () {
+ ${ISO_TYPE}_prepare
+}
+
+iso_cleanup () {
+ ${ISO_TYPE}_cleanup
+}
+
+EXPORT prepare cleanup
# vim:ft=sh