Commit cb19c63d authored by Jan Groenewald's avatar Jan Groenewald
Browse files

reduce number of apt-get -qq update in aims-complete-install

parent ba8e3b62
......@@ -18,7 +18,7 @@ systemctl stop unattended-upgrades
# install software
apt-get -qq update
apt-get -y install sagemath-jupyter jupyter jupyter-notebook python3-notebook spyder3 r-cran-irkernel aims-desktop
aims-install-rstudio
aims-install-rstudio -n # -n to not call apt-get -qq update again in aims-install-rstudio
apt-get -y dist-upgrade
apt-get clean
# clear Mac OSX boot entries in grub (installer USB looks like a Mac disk and get's added to grub)
......
......@@ -5,7 +5,9 @@
RSTUDIO=https://download1.rstudio.org/desktop/bionic/amd64/rstudio-1.4.1103-amd64.deb
gpg --keyserver keys.gnupg.net --recv-keys 3F32EE77E331692F
apt-get -qq update
if [ "$1" != "-n" ]; then
apt-get -qq update # update unless called with -n, e.g. from aims-complete-install
fi
apt-get -y install r-recommended libedit2 libssl1.1 libclang-dev libxkbcommon-x11-0 libsqlite3-0 libpq5 libc6
cd /tmp
wget -c $RSTUDIO
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment