diff --git a/resources/scripts/install-system-deps.sh b/resources/scripts/install-system-deps.sh index 3f7aa1eed..0e9c17e88 100644 --- a/resources/scripts/install-system-deps.sh +++ b/resources/scripts/install-system-deps.sh @@ -3,12 +3,12 @@ echo "Installing system dependencies." # Clean up problems. -apt-get update --fix-missing -y +sudo apt-get update --fix-missing -y # Upgrade. -apt-get -y full-upgrade +sudo apt-get -y full-upgrade -apt-get -y install \ +sudo apt-get -y install \ ack \ astrometry.net \ astrometry-data-tycho2-10-19 \ @@ -34,4 +34,4 @@ apt-get -y install \ wget \ zsh -apt-get -y autoremove +sudo apt-get -y autoremove diff --git a/resources/scripts/install.sh b/resources/scripts/install.sh index 116ab00b5..6afff4ec6 100644 --- a/resources/scripts/install.sh +++ b/resources/scripts/install.sh @@ -2,7 +2,8 @@ set -e echo "Installing POCS" -sudo /bin/bash install-system-deps.sh +source ./setup-user.sh +source ./install-system-deps.sh source ./install-pocs.sh source ./install-conda.sh source ./install-zsh.sh