Revision d14647,
1.1 KB
checked in by geos_one, 8 years ago
(diff) |
sed the installer
|
-
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 | |
---|
22 | function cleanup() { |
---|
23 | echo "Cleanup" |
---|
24 | builder_cleanup |
---|
25 | } |
---|
26 | |
---|
27 | function create() { |
---|
28 | echo "Create" |
---|
29 | builder_create |
---|
30 | |
---|
31 | sed -e "s!/install!/install /silent /launchopera 0 /quicklaunchshortcut 0 /setdefaultbrowser 0!" -i $INST_DIR/CLIENT_DATA/X86/${DL_FILE[1]} |
---|
32 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.