diff --git a/.archlinux/install-scripts/install.sh b/.archlinux/install-scripts/install.sh index fca05463..09362773 100755 --- a/.archlinux/install-scripts/install.sh +++ b/.archlinux/install-scripts/install.sh @@ -7,6 +7,14 @@ set -e # Change the working directory to this one cd "$(dirname "$0")" +# Download the install scripts if they don't exist yet +URL="https://raw.githubusercontent.com/GloverDonovan/.files/master/.archlinux/install-scripts" +[ -f 001-preinstall ] || wget "$URL/001-preinstall" +[ -f 002-install ] || wget "$URL/002-install" +[ -f 003-configure ] || wget "$URL/003-configure" +[ -f 004-postinstall ] || wget "$URL/004-postinstall" +chmod 755 001-preinstall 002-install 003-configure 004-postinstall + # Prompt for the required information echo -n "Enter the size (in GiB) to give the primary partition: "