From: Uwe Köcher Date: Sat, 7 Nov 2015 09:59:35 +0000 (+0100) Subject: candi: removes SNAPSHOT X-Git-Tag: v0.8.1~21 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51d38d71b47cfe4387fd2e48866e48ae12721b94;p=candi.git candi: removes SNAPSHOT --- diff --git a/candi.sh b/candi.sh index 9c91df6..c965391 100755 --- a/candi.sh +++ b/candi.sh @@ -344,21 +344,6 @@ package_unpack() { cecho ${BAD} "${FILE_TO_UNPACK} does not exist. Please download first." exit 1 fi - - # Unpack the archive only if it isn't already or when using - # snapshots and unstable packages - if [ ${STABLE_BUILD} = false ] && [ ${USE_SNAPSHOTS} = true ] || [ ! -d "${EXTRACTSTO}" ]; then - # Unpack the archive in accordance with its packing - if [ ${PACKING} = ".tar.bz2" ] || [ ${PACKING} = ".tbz2" ]; then - tar xjf ${FILE_TO_UNPACK} - elif [ ${PACKING} = ".tar.gz" ] || [ ${PACKING} = ".tgz" ]; then - tar xzf ${FILE_TO_UNPACK} - elif [ ${PACKING} = ".tar.xz" ]; then - tar xJf ${FILE_TO_UNPACK} - elif [ ${PACKING} = ".zip" ]; then - unzip ${FILE_TO_UNPACK} - fi - fi fi # Quit with a useful message if something goes wrong @@ -579,7 +564,6 @@ default INSTALL_PATH=${PREFIX_PATH}/${PROJECT} default CLEAN_BUILD=false default STABLE_BUILD=true -default USE_SNAPSHOTS=false default PACKAGES_OFF=""