softmaker.textmakerviewer/builder-targets-cb.sh

23 lines
614 B
Bash

##############################################################################
# This optional file "builder-targets-cb.sh" will be called by builder.sh
#
# target order: config, prepare, retrieve, create, package, publish, commit, cleanup
# callbacks: cb_package_makeproductfile
#
##############################################################################
function create() {
echo "Create"
builder_create
}
function cleanup() {
echo "Cleanup:"
cp -av ${OPSI_REPOS_PRODUCT_DIR}/${OPSI_REPOS_FILE_PATTERN} /tmp
chmod 666 /tmp/${OPSI_REPOS_FILE_PATTERN}
# builder_cleanup
}