don't regenerate package
This commit is contained in:
parent
694a17b841
commit
2fd160d1a1
7
build.sh
7
build.sh
@ -13,6 +13,13 @@ AMD64="http://ftp.computerbase.de/2dcb2daff6a9e2bf9a8f6a6d867b5391/4e04afba/AiO-
|
|||||||
ICONFILE=${ICON##*/}
|
ICONFILE=${ICON##*/}
|
||||||
X86FILE=${X86##*/}
|
X86FILE=${X86##*/}
|
||||||
AMD64FILE=${AMD64##*/}
|
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; }
|
OUT=$(mktemp -d /tmp/output.XXXXXXXXXX) || { echo "Failed to create temp dir"; exit 1; }
|
||||||
mkdir $OUT/$PN
|
mkdir $OUT/$PN
|
||||||
cp -Rv OPSI CLIENT_DATA $OUT/$PN
|
cp -Rv OPSI CLIENT_DATA $OUT/$PN
|
||||||
|
Loading…
Reference in New Issue
Block a user