]> https://gitweb.dealii.org/ - candi.git/commitdiff
candi: removes SNAPSHOT
authorUwe Köcher <koecher@hsu-hamburg.de>
Sat, 7 Nov 2015 09:59:35 +0000 (10:59 +0100)
committerUwe Köcher <koecher@hsu-hamburg.de>
Sat, 7 Nov 2015 09:59:35 +0000 (10:59 +0100)
candi.sh

index 9c91df6dece8a69ad8f2cafac2e8cc4c5288f9dd..c96539107fcb6999566668a1472468d9cb4910b9 100755 (executable)
--- 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=""
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.