add ini writer support

This commit is contained in:
Mario Fetka
2013-03-07 21:38:36 +01:00
parent a0e29cb0ac
commit 75adc590d0
3 changed files with 579 additions and 550 deletions

View File

@@ -1,6 +1,6 @@
#!/bin/bash
#
#
#
# enabled debug
# set -x
@@ -9,31 +9,31 @@
# Controller
####################
builder_controller() {
local result
# read config
call_entry_point result config; (( $result == "0" )) || builder_config
# prepare
call_entry_point result prepare ; (( $result == "0" )) || builder_prepare
# download and process dist files
call_entry_point result retrieve; (( $result == "0" )) || builder_retrieve
# Create some special files
call_entry_point result create; (( $result == "0" )) || builder_create
# Start packaging
call_entry_point result package; (( $result == "0" )) || builder_package
# Upload to repos
call_entry_point result publish; (( $result == "0" )) || builder_publish
# git commit
call_entry_point result commit; (( $result == "0" )) || builder_commit
# cleanup
call_entry_point result cleanup; (( $result == "0" )) || builder_cleanup
local result
# read config
call_entry_point result config; (( $result == "0" )) || builder_config
# prepare
call_entry_point result prepare ; (( $result == "0" )) || builder_prepare
# download and process dist files
call_entry_point result retrieve; (( $result == "0" )) || builder_retrieve
# Create some special files
call_entry_point result create; (( $result == "0" )) || builder_create
# Start packaging
call_entry_point result package; (( $result == "0" )) || builder_package
# Upload to repos
call_entry_point result publish; (( $result == "0" )) || builder_publish
# git commit
call_entry_point result commit; (( $result == "0" )) || builder_commit
# cleanup
call_entry_point result cleanup; (( $result == "0" )) || builder_cleanup
}
####################
@@ -58,7 +58,7 @@ builder_check_error "no opsi product directory specified: $PRODUCT_DIR"
# source additional, product dependent callback (cb) targets
if [ -f "$PRODUCT_DIR/builder-targets-cb.sh" ] ; then
. "$PRODUCT_DIR/builder-targets-cb.sh"
. "$PRODUCT_DIR/builder-targets-cb.sh"
fi
# call main