correct copy failure

This commit is contained in:
Mario Fetka 2012-01-28 22:34:55 +01:00
parent 02952f9b78
commit 283a9bb835
1 changed files with 53 additions and 26 deletions

View File

@ -1,33 +1,60 @@
############################
# Setup product information
############################
VENDOR="softmaker.de"
PN="pmviewer"
VERSION="2010"
RELEASE="10"
PRIORITY="0"
ADVICE=""
##############################################################################
# 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>
#
##############################################################################
TYPE="restrict"
#function config() {
# echo "Config - doing some commands before calling the builder_config"
# builder_config
# echo "Config - doing some commands after calling the builder_config"
#}
#####################
# File object array
#####################
#function prepare() {
# echo "Prepare"
# builder_prepare
#}
FILE[0]="SoftMaker-Logo.png_medium.png"
SOURCE[0]="http://www.android-user.de/var/ezflow_site/storage/images/artikel/exklusiv-vorschau-auf-softmaker-office-fuer-android/softmaker-logo.png/25888-1-ger-DE/SoftMaker-Logo.png_medium.png"
function retrieve() {
echo "Retrieve"
builder_retrieve
}
FILE[1]="PlanMakerViewer2010.msi"
SOURCE[1]="http://internal.graz.disconnected-by-peer.at/Orig/SoftMaker/Viewer/HB/2010/PlanMakerViewer2010.msi"
ARCH[1]="X86"
WINST[1]="InstallMsi"
function create() {
echo "Create"
builder_create
}
# Download direct the executable
#FILE[1]="TMViewerSetup.exe"
#SOURCE[1]="http://www.softmaker.net/down/TMViewerSetup.exe"
#ARCH[1]="X86"
#WINST[1]="InstallExe"
function package() {
echo "Package"
builder_package
}
# File array index for the image showing while installing the program
ICON_FILE_INDEX=0
function publish() {
echo "Publish"
builder_publish
}
function commit() {
echo "Commit"
# builder_commit
}
function cleanup() {
echo "Cleanup: output_dir: $output_dir"
# builder_cleanup
}