sed the installer
This commit is contained in:
parent
13953bcd21
commit
d14647b95f
@ -21,14 +21,11 @@ DL_SOURCE[0]="http://cordis.europa.eu/fp7/ict/organic-elec-visual-display/icons/
|
||||
DL_FILE[1]="Opera_${VERSION}_Setup.exe"
|
||||
DL_SOURCE[1]="ftp://ftp.opera.com/pub/opera/desktop/${VERSION}/win/Opera_${VERSION}_Setup.exe"
|
||||
DL_ARCH[1]="X86"
|
||||
DL_EXTRACT_FORMAT[1]="7zip"
|
||||
DL_WINST_NAME[1]="InstallExe"
|
||||
|
||||
# File array index for the image showing while installing the program
|
||||
ICON_DL_INDEX=0
|
||||
|
||||
WINST_NAME[0]="InstallExe"
|
||||
WINST_VALUE[0]="@DL_EXTRACT_WINST_PATH[1]@\\launcher.exe"
|
||||
|
||||
OPSI_INI_SECTION[0]="X86"
|
||||
OPSI_INI_OPTION[0]="UninstallProg"
|
||||
OPSI_INI_VALUE[0]="Opera.exe"
|
||||
|
@ -23,3 +23,10 @@ function cleanup() {
|
||||
echo "Cleanup"
|
||||
builder_cleanup
|
||||
}
|
||||
|
||||
function create() {
|
||||
echo "Create"
|
||||
builder_create
|
||||
|
||||
sed -e "s!/install!/install /silent /launchopera 0 /quicklaunchshortcut 0 /setdefaultbrowser 0!" -i $INST_DIR/CLIENT_DATA/X86/${DL_FILE[1]}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user