don't regenerate package

This commit is contained in:
Mario Fetka 2011-06-24 22:49:53 +02:00
parent 8bef3908a7
commit 3d38b7a8c0
1 changed files with 7 additions and 0 deletions

View File

@ -11,6 +11,13 @@ AMD64="ftp://download.may.co.at/Repository/msoftware/MAYComp/Current/RO/gs900x64
ICONFILE=${ICON##*/}
X86FILE=${X86##*/}
AMD64FILE=${AMD64##*/}
if [ -e /var/tmp/opsi/upload/$TYPE/${PN}_${VERSION}-${RELEASE}.opsi ]
then
echo "package ${PN}_${VERSION}-${RELEASE}.opsi already generated"
exit 1
fi
OUT=$(mktemp -d /tmp/output.XXXXXXXXXX) || { echo "Failed to create temp dir"; exit 1; }
mkdir $OUT/$PN
cp -Rv OPSI CLIENT_DATA $OUT/$PN