diff --git a/bootstrap.sh b/bootstrap.sh index 6455408..080d30d 100644 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -50,7 +50,7 @@ pre_substep() { # Ensures that all existing Apt packages are up-to-date. ensure_apt_up_to_date() { pre_step "Ensuring apt packages are up-to-date" - + if [ -z "$(apt --version 2> /dev/null)" ]; then echo -e "\e[33mApt not installed, skipping updates.\e[0m" else @@ -71,7 +71,7 @@ ensure_apt_dependencies() { else echo -e "\e[1mInstalling packages...\e[0m" - sudo apt install $(cat ./apt.txt) -y --autoremove + sudo apt install $(cat ./files/apt.txt) -y --autoremove echo -e "\e[1;32mSystem packages installed.\e[0m" fi diff --git a/apt.txt b/files/apt.txt similarity index 100% rename from apt.txt rename to files/apt.txt