update to new opsi builder
This commit is contained in:
parent
860fa3240e
commit
2674129577
@ -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.linuxliberation"
|
||||
Set $MinimumSpace$ = "10 MB"
|
||||
; the path were we find the product after the installation
|
||||
Set $InstallDir32$ = "%ProgramFiles32Dir%\Liberation"
|
||||
Set $InstallDir64$ = "%ProgramFiles64Dir%\Liberation"
|
||||
Set $InstallDir32$ = "%ProgramFiles32Dir%\LinuxLiberation"
|
||||
Set $InstallDir64$ = "%ProgramFiles64Dir%\LinuxLiberation"
|
||||
; ----------------------------------------------------------------
|
||||
|
||||
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"
|
||||
|
@ -1 +0,0 @@
|
||||
154c33487183616bc5fb1c2996843d8627559a9e /usr/portage/distfiles/Liberation-fonts.png
|
@ -3,6 +3,8 @@
|
||||
############################
|
||||
VENDOR="fedorahosted.org"
|
||||
PN="font.linuxliberation"
|
||||
NAME="Linux Liberation Free Font"
|
||||
DESCRIPTION="Linux Liberation Free Font"
|
||||
VERSION="2.00.1"
|
||||
RELEASE="3"
|
||||
PRIORITY="0"
|
||||
@ -14,8 +16,8 @@ TYPE="public"
|
||||
|
||||
#
|
||||
|
||||
DL_FILE[0]="Liberation-fonts.png"
|
||||
DL_SOURCE[0]="http://upload.wikimedia.org/wikipedia/commons/b/b6/Liberation-fonts.png"
|
||||
DL_FILE[0]="liberation_font_alphabet_by_10binary-d41c0wg.png"
|
||||
DL_SOURCE[0]="http://fc04.deviantart.net/fs71/f/2011/203/2/4/liberation_font_alphabet_by_10binary-d41c0wg.png"
|
||||
|
||||
DL_FILE[1]="liberation-fonts-ttf-$VERSION.tar.gz"
|
||||
DL_SOURCE[1]="https://fedorahosted.org/releases/l/i/liberation-fonts/liberation-fonts-ttf-$VERSION.tar.gz"
|
||||
|
1
liberation_font_alphabet_by_10binary-d41c0wg.png.sha1sum
Normal file
1
liberation_font_alphabet_by_10binary-d41c0wg.png.sha1sum
Normal file
@ -0,0 +1 @@
|
||||
e374c80c29d99bd15ef0a4ae5ded22c213325baf /home/mario/.opsi-dist-cache/font.linuxliberation-2.00.1//liberation_font_alphabet_by_10binary-d41c0wg.png
|
Loading…
Reference in New Issue
Block a user