Update to new opsi builder

This commit is contained in:
Mario Fetka 2013-03-11 19:19:43 +01:00
parent 89625b8856
commit dec041c992
4 changed files with 9 additions and 8 deletions

View File

@ -0,0 +1 @@
b02d45f48e6a7d3cbab8dc5136e03937f34d90e5 /home/mario/.opsi-dist-cache/font.bitstreamvera-1.10//BitstreamVera.jpg

View File

@ -1 +0,0 @@
64307c3994f85c202e47601999d29c3386ccfbf6 /home/mario/.opsi-dist-cache/font.bitstreamvera-1.10//BitstreamVeraFonts.gif

View File

@ -4,7 +4,7 @@
; credits: http://www.opsi.org/credits/ ; credits: http://www.opsi.org/credits/
[Actions] [Actions]
requiredWinstVersion >= "4.10.8.6" requiredWinstVersion >= "4.11.2.6"
DefVar $ProductId$ DefVar $ProductId$
DefVar $MinimumSpace$ DefVar $MinimumSpace$
@ -37,7 +37,6 @@ Set $LogDir$ = "%SystemDrive%\tmp"
;$ProductId$ should be the name of the product in opsi ;$ProductId$ should be the name of the product in opsi
; therefore please: only lower letters, no umlauts, ; therefore please: only lower letters, no umlauts,
; no white space use '-' as a seperator ; no white space use '-' as a seperator
Set $ProductId$ = "font.bitstreamvera"
Set $MinimumSpace$ = "10 MB" Set $MinimumSpace$ = "10 MB"
; the path were we find the product after the installation ; the path were we find the product after the installation
Set $InstallDir32$ = "%ProgramFiles32Dir%\Bitstream" Set $InstallDir32$ = "%ProgramFiles32Dir%\Bitstream"
@ -50,12 +49,12 @@ if not(HasMinimumSpace ("%SystemDrive%", $MinimumSpace$))
; Stop process and set installation status to failed ; Stop process and set installation status to failed
else else
comment "Show product picture" comment "Show product picture"
ShowBitmap "%ScriptPath%\" + $ProductId$ + ".png" $ProductId$ ShowBitmap "%ScriptPath%\" + $ProductId$ + ".png" $NAME$
comment "installing" comment "installing"
if (($INST_SystemType$ = "x86 System") and ($INST_architecture$ = "system specific")) or ($INST_architecture$ = "both") or ($INST_architecture$ = "32 only") if (($INST_SystemType$ = "x86 System") and ($INST_architecture$ = "system specific")) or ($INST_architecture$ = "both") or ($INST_architecture$ = "32 only")
Message "Installing " + $ProductId$ + " 32 Bit..." Message "Installing " + $ProductId$ + " "+ $VERSION$ + "-" + $CREATOR_TAG$ + $RELEASE$ + " 32 Bit..."
comment "Copy files" comment "Copy files"
Files_install_32 /32Bit Files_install_32 /32Bit
comment "Start setup program" comment "Start setup program"
@ -68,7 +67,7 @@ else
endif endif
if ($INST_SystemType$ = "64 Bit System") and (($INST_architecture$ = "system specific") or ($INST_architecture$ = "both") or ($INST_architecture$ = "64 only")) if ($INST_SystemType$ = "64 Bit System") and (($INST_architecture$ = "system specific") or ($INST_architecture$ = "both") or ($INST_architecture$ = "64 only"))
Message "Installing " + $ProductId$ + " 64 Bit..." Message "Installing " + $ProductId$ + " "+ $VERSION$ + "-" + $CREATOR_TAG$ + $RELEASE$ + " 64 Bit..."
comment "Copy files" comment "Copy files"
Files_install_64 /64Bit Files_install_64 /64Bit
comment "Start setup program" comment "Start setup program"

View File

@ -3,6 +3,8 @@
############################ ############################
VENDOR="gnome.org" VENDOR="gnome.org"
PN="font.bitstreamvera" PN="font.bitstreamvera"
NAME="Bitstream Vera Free Font"
DESCRIPTION="Bitstream Vera Free Font"
VERSION="1.10" VERSION="1.10"
RELEASE="3" RELEASE="3"
PRIORITY="0" PRIORITY="0"
@ -14,8 +16,8 @@ TYPE="public"
# #
DL_FILE[0]="BitstreamVeraFonts.gif" DL_FILE[0]="BitstreamVera.jpg"
DL_SOURCE[0]="http://www.tribalmedia.com/wiki/images/2/23/BitstreamVeraFonts.gif" DL_SOURCE[0]="http://www.addictivefonts.com/wp-content/uploads/2010/08/BitstreamVera.jpg"
DL_FILE[1]="ttf-bitstream-vera-1.10.zip" DL_FILE[1]="ttf-bitstream-vera-1.10.zip"
DL_SOURCE[1]="http://ftp.gnome.org/pub/GNOME/sources/ttf-bitstream-vera/1.10/ttf-bitstream-vera-1.10.zip" DL_SOURCE[1]="http://ftp.gnome.org/pub/GNOME/sources/ttf-bitstream-vera/1.10/ttf-bitstream-vera-1.10.zip"