diff --git a/scripts/install.sh b/scripts/install.sh index 43314a0..549f4ef 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -59,9 +59,6 @@ echo -e "| | | | \__ \ |_| |_) | (_) | | | | | |" echo -e "|_| |_|_|___/\__|_.__/ \___/|_| |_| |_|" echo -e "" -echo "Checking updates" -source ./scripts/subinstallers/check_updates.sh - sudo rm -rf /opt/mistborn 2>/dev/null || true # clone to /opt and change directory @@ -72,6 +69,10 @@ pushd . cd /opt/mistborn git submodule update --init --recursive +# Check updates +echo "Checking updates" +source ./scripts/subinstallers/check_updates.sh + # MISTBORN_DEFAULT_PASSWORD source ./scripts/subinstallers/passwd.sh