sereby.aio/builder-targets-cb.sh

27 lines
964 B
Bash
Raw Normal View History

2012-01-29 09:10:37 +01:00
##############################################################################
# This optional file "builder-targets-cb.sh" will be called by builder.sh
#
# The targets will be called from thde opsi-builder using the following
# order: config, prepare, retrieve, create, package, publish, commit, cleanup
# You can overwrite the target functions in builder-targets-cb.sh
#
# You can define callback functions. The functions are called from
# opsi-builder within processing a target
# cb_package_makeproductfile
#
# You can use every variable defined in any configuration file or by
# the defined builder script itself. Also, calling the predefined
# targets builder_<targetname> is possible.
#
# Abstract:
# target order: config, prepare, retrieve, create, package, publish, commit, cleanup
# callbacks: <none>
#
##############################################################################
function cleanup() {
2012-02-06 19:31:41 +01:00
echo "Cleanup"
2012-02-05 20:33:48 +01:00
builder_cleanup
2012-01-29 09:10:37 +01:00
}
2012-02-04 18:20:26 +01:00