update to new opsi builder

This commit is contained in:
Mario Fetka 2013-03-11 20:40:08 +01:00
parent 4b6317f8d4
commit c60ea56678
4 changed files with 11 additions and 10 deletions

View File

@ -0,0 +1 @@
8ae26c8cf3234f86612e83247b95d0b00781bf49 /home/mario/.opsi-dist-cache/font.dejavu-2.33//250px-DejaVu_specimen.svg.png

View File

@ -4,7 +4,7 @@
; credits: http://www.opsi.org/credits/
[Actions]
requiredWinstVersion >= "4.10.8.6"
requiredWinstVersion >= "4.11.2.6"
DefVar $ProductId$
DefVar $MinimumSpace$
@ -37,11 +37,10 @@ Set $LogDir$ = "%SystemDrive%\tmp"
;$ProductId$ should be the name of the product in opsi
; therefore please: only lower letters, no umlauts,
; no white space use '-' as a seperator
Set $ProductId$ = "font.dejavu"
Set $MinimumSpace$ = "10 MB"
; the path were we find the product after the installation
Set $InstallDir32$ = "%ProgramFiles32Dir%\DeJaVu"
Set $InstallDir64$ = "%ProgramFiles64Dir%\DeJaVu"
Set $InstallDir32$ = "%ProgramFiles32Dir%\Dejavu"
Set $InstallDir64$ = "%ProgramFiles64Dir%\Dejavu"
; ----------------------------------------------------------------
if not(HasMinimumSpace ("%SystemDrive%", $MinimumSpace$))
@ -50,12 +49,12 @@ if not(HasMinimumSpace ("%SystemDrive%", $MinimumSpace$))
; Stop process and set installation status to failed
else
comment "Show product picture"
ShowBitmap "%ScriptPath%\" + $ProductId$ + ".png" $ProductId$
ShowBitmap "%ScriptPath%\" + $ProductId$ + ".png" $NAME$
comment "installing"
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"
Files_install_32 /32Bit
comment "Start setup program"
@ -68,7 +67,7 @@ else
endif
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"
Files_install_64 /64Bit
comment "Start setup program"

View File

@ -1 +0,0 @@
ba4ae3eb9934ea4ff8d3a9d2fcba252ac6c9bcb8 /home/mario/.opsi-dist-cache/font.dejavu-2.33//DejaVu_specimen.png

View File

@ -3,6 +3,8 @@
############################
VENDOR="dejavu-fonts.org"
PN="font.dejavu"
NAME="DejaVu Vera Free Font"
DESRIPTION="The DejaVu fonts are a font family based on the Vera Fonts."
VERSION="2.33"
RELEASE="3"
PRIORITY="0"
@ -14,8 +16,8 @@ TYPE="public"
#
DL_FILE[0]="DejaVu_specimen.png"
DL_SOURCE[0]="http://dejavu-fonts.org/wiki/images/8/8b/DejaVu_specimen.png"
DL_FILE[0]="250px-DejaVu_specimen.svg.png"
DL_SOURCE[0]="http://upload.wikimedia.org/wikipedia/commons/thumb/3/3e/DejaVu_specimen.svg/250px-DejaVu_specimen.svg.png"
DL_FILE[1]="dejavu-fonts-ttf-2.33.zip"
DL_SOURCE[1]="http://sourceforge.net/projects/dejavu/files/dejavu/2.33/dejavu-fonts-ttf-2.33.zip"