adobe.acrobatpro8/builder-targets-cb.sh

38 lines
1.4 KiB
Bash
Raw Normal View History

##############################################################################
# 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() {
echo "Cleanup"
builder_cleanup
}
2013-09-07 17:11:59 +02:00
function create() {
echo "Create"
builder_create
mv $INST_DIR/CLIENT_DATA/X86/Temp/Adobe\ Acrobat\ 8\ Professional/* $INST_DIR/CLIENT_DATA/X86/
mv $INST_DIR/CLIENT_DATA/X86/Setup/* $INST_DIR/CLIENT_DATA/X86/
2015-10-26 16:18:32 +01:00
mv $INST_DIR/CLIENT_DATA/X86/AdobeConfig/*.xml $INST_DIR/CLIENT_DATA/X86/
2014-05-22 17:46:17 +02:00
cp $INST_DIR/CLIENT_DATA/opsi-$PN.ini $INST_DIR/CLIENT_DATA/X86/setup.ini
2015-10-26 16:18:32 +01:00
rm -rf $INST_DIR/CLIENT_DATA/X86/{Temp,Setup,AdobeConfig}
2013-09-07 17:11:59 +02:00
}