update to new opsi builder
This commit is contained in:
parent
1faca5554c
commit
599260ecbf
|
@ -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,7 +37,6 @@ 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.cardo"
|
||||
Set $MinimumSpace$ = "10 MB"
|
||||
; the path were we find the product after the installation
|
||||
Set $InstallDir32$ = "%ProgramFiles32Dir%\Cardo"
|
||||
|
@ -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"
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
74219b400341357991f26260ca7cc87f29f23606 /home/mario/.opsi-dist-cache/font.cardo-1.04//Cardo-free-serif-fonts.jpg
|
|
@ -1 +0,0 @@
|
|||
58756c4f06416a68afc9dba416075d9c9d310d6a /home/mario/.opsi-dist-cache/font.cardo-1.04//Cardo.gif
|
|
@ -3,6 +3,8 @@
|
|||
############################
|
||||
VENDOR="scholarsfonts.net"
|
||||
PN="font.cardo"
|
||||
NAME="Cardo Unicode Free Font"
|
||||
DESCRIPTION="Cardo is a large Unicode font specifically designed for the needs of classicists, Biblical scholars, medievalists, and linguists."
|
||||
VERSION="1.04"
|
||||
RELEASE="3"
|
||||
PRIORITY="0"
|
||||
|
@ -14,8 +16,8 @@ TYPE="public"
|
|||
|
||||
#
|
||||
|
||||
DL_FILE[0]="Cardo.gif"
|
||||
DL_SOURCE[0]="http://www.identifont.com/samples/scholarsfonts/Cardo.gif"
|
||||
DL_FILE[0]="Cardo-free-serif-fonts.jpg"
|
||||
DL_SOURCE[0]="http://www.addictivefonts.com/wp-content/uploads/2010/07/Cardo-free-serif-fonts.jpg"
|
||||
|
||||
DL_FILE[1]="cardo104.zip"
|
||||
DL_SOURCE[1]="http://scholarsfonts.net/cardo104.zip"
|
||||
|
|
Loading…
Reference in New Issue