From c1c96d9c4c17a1bd725ab484a178f21e79ea9795 Mon Sep 17 00:00:00 2001 From: Mario Fetka Date: Sat, 25 Jun 2011 07:14:26 +0200 Subject: [PATCH] correct dependency for flash install --- OPSI/control | 6 +++++- build.sh | 3 ++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/OPSI/control b/OPSI/control index e39f5f1..881b077 100644 --- a/OPSI/control +++ b/OPSI/control @@ -8,7 +8,7 @@ type: localboot id: aio name: All in One Runtimes description: Das "All in One Runtimes" Paket buendelt alle wichtigen Runtime Pakete die benoetigt werden um sicherzustellen, dass alle Programme auch reibungslos funktionieren. -advice: +advice: ADVICE version: VERSION priority: PRIORITY licenseRequired: False @@ -30,3 +30,7 @@ description: which architecture (32/64 bit) has to be installed values: ["32 only", "64 only", "both", "system specific"] default: ["system specific"] +[ProductDependency] +action: setup +requiredProduct: firefox +requiredStatus: installed \ No newline at end of file diff --git a/build.sh b/build.sh index 5a0aae3..885389b 100644 --- a/build.sh +++ b/build.sh @@ -5,6 +5,7 @@ VERSIONAMD64="1.2.6" VERSION="$VERSIONX86.$VERSIONAMD64" RELEASE="1" PRIORITY="0" +ADVICE="New Release" TYPE="public" # all downloads should not have any traling parameters like ?downlaodid=1234 .....(should rewrite in python) ICON="http://pics.computerbase.de/1/1713.png" @@ -96,7 +97,7 @@ unix2dos $OUT/$PN/CLIENT_DATA/* exit 1 fi -sed -e "s!VERSION!$VERSION!g" -e "s!RELEASE!$RELEASE!g" -e "s!PRIORITY!$PRIORITY!g" -i $OUT/$PN/OPSI/control +sed -e "s!VERSION!$VERSION!g" -e "s!RELEASE!$RELEASE!g" -e "s!PRIORITY!$PRIORITY!g" -e "s!ADVICE!$ADVICE!g" -i $OUT/$PN/OPSI/control sed -e "s!X86FILE!$X86FILE!g" -e "s!AMD64FILE!$AMD64FILE!g" -i $OUT/$PN/CLIENT_DATA/setup.ins if test -d ".git"; then