Swapped rebuild logic of example script

Anton Hvornum 2021-03-21 10:57:15 +01:00
parent ec6d0c1ee9
commit bf30f6642c
1 changed files with 2 additions and 2 deletions

@ -73,10 +73,10 @@ fi
REPO="https://github.com/Torxed/archinstall.git"
ARCHISO_FOLDER=$1
SKIP_BUILD=$2
REBUILD=$2
BRANCH="master"
if [ -z $SKIP_BUILD ]
if [ $REBUILD ]
then
echo "Making a clean build!"
`rm -rf "${ARCHISO_FOLDER}" 2>/dev/null` || (