correct client copy

This commit is contained in:
Mario Fetka
2014-03-14 13:19:06 +01:00
parent 0e46e826c5
commit 6bdc6a0801
2 changed files with 1 additions and 19 deletions

View File

@@ -8,15 +8,6 @@
TMP_DIR=${CLIENT_DATA_DIR}/../${PRODUCT_ID}.tmp
major=`cat /etc/opsi/version | cut -d'.' -f1`
minor=`cat /etc/opsi/version | cut -d'.' -f2`
if [ ! $major -ge 4 ]; then
if [ $major -le 2 -o $minor -le 98 ]; then
echo "This product requires opsi version >= 3.99" 1>&2
exit 1
fi
fi
if [ -d $TMP_DIR ]; then
echo "Temporary directory $TMP_DIR already exist, aborting!" 1>&2
exit 1