############################################################################## # 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_ is possible. # # Abstract: # target order: config, prepare, retrieve, create, package, publish, commit, cleanup # callbacks: # ############################################################################## function cleanup() { echo "Cleanup" builder_cleanup } function create() { echo "Create" builder_create mkdir -p $INST_DIR/CLIENT_DATA/X86/Updater/Core mv $INST_DIR/CLIENT_DATA/X86/Temp/Adobe\(R\)\ Photoshop\(R\)\ CS2 $INST_DIR/CLIENT_DATA/X86/Core rm -rf $INST_DIR/CLIENT_DATA/X86/Core/stock\ photography rm -rf $INST_DIR/CLIENT_DATA/X86/Core/bridge mv $INST_DIR/CLIENT_DATA/X86/Temp/bridge $INST_DIR/CLIENT_DATA/X86/Core/bridge mkdir -p $INST_DIR/CLIENT_DATA/X86/Temp/Core cabextract -d $INST_DIR/CLIENT_DATA/X86/Temp/Core $INST_DIR/CLIENT_DATA/X86/Core/Data1.cab pushd $INST_DIR/CLIENT_DATA/X86/Temp/Updater unshield x data1.cab mv -vf App/honesty/Photoshop.exe $INST_DIR/CLIENT_DATA/X86/Temp/Core/Photoshop.exe mv -vf App/AdobeXMP.dll $INST_DIR/CLIENT_DATA/X86/Temp/Core/AdobeXMP.dll mv -vf Plug-ins/plug-ins/adobe_photoshop_only/automate/HDRMergeAuto.8li $INST_DIR/CLIENT_DATA/X86/Temp/Core/_FD1D92819EBF46FF92AC39DAF7FC6EBC mv -vf Plug-ins/plug-ins/extensions/MMXCore.8BX $INST_DIR/CLIENT_DATA/X86/Temp/Core/_5F2B3A39CBEC4319B5D0C4FBD75C7014 rm $INST_DIR/CLIENT_DATA/X86/Core/{*.exe,*.wri,Setup.ini} popd mv -vf $INST_DIR/CLIENT_DATA/X86/Temp/MultiProcessor/MultiProcessor\ Support.8BX $INST_DIR/CLIENT_DATA/X86/Temp/Core/_021C6307CEDB410187380C39E7D94594 gcab -cvn $INST_DIR/CLIENT_DATA/X86/Core/Data1.cab $INST_DIR/CLIENT_DATA/X86/Temp/Core/* mv $INST_DIR/CLIENT_DATA/Adobe_Photoshop_CS2_9.0.2.mst $INST_DIR/CLIENT_DATA/X86/Core/ rm -rf $INST_DIR/CLIENT_DATA/X86/Temp }