Code

source: adobe.acrobatpro8/builder-targets-cb.sh @ 2d8603

Revision 2d8603, 1.4 KB checked in by geos_one, 5 years ago (diff)

Bump

  • Property mode set to 100644
Line 
1##############################################################################
2# This optional file "builder-targets-cb.sh" will be called by builder.sh
3#
4# The targets will be called from thde opsi-builder using the following
5# order: config, prepare, retrieve, create, package, publish, commit, cleanup
6# You can overwrite the target functions in builder-targets-cb.sh
7#
8# You can define callback functions. The functions are called from
9# opsi-builder within processing a target
10#   cb_package_makeproductfile
11#
12# You can use every variable defined in any configuration file or by
13# the defined builder script itself. Also, calling the predefined
14# targets builder_<targetname> is possible.
15#
16# Abstract:
17#  target order: config, prepare, retrieve, create, package, publish, commit, cleanup
18#  callbacks: <none>
19#
20##############################################################################
21
22function cleanup() {
23    echo "Cleanup"
24    builder_cleanup
25}
26
27function create() {
28    echo "Create"
29    builder_create
30
31    mv $INST_DIR/CLIENT_DATA/X86/Temp/Adobe\ Acrobat\ 8\ Professional/* $INST_DIR/CLIENT_DATA/X86/
32    mv $INST_DIR/CLIENT_DATA/X86/Setup/* $INST_DIR/CLIENT_DATA/X86/
33    mv $INST_DIR/CLIENT_DATA/X86/AdobeConfig/*.xml $INST_DIR/CLIENT_DATA/X86/
34    cp $INST_DIR/CLIENT_DATA/opsi-$PN.ini $INST_DIR/CLIENT_DATA/X86/setup.ini
35    rm -rf $INST_DIR/CLIENT_DATA/X86/{Temp,Setup,AdobeConfig}
36}
37
Note: See TracBrowser for help on using the repository browser.