#!/bin/bash # Check we are not in the installer live environment mount | grep squashfs && \ if [ "$1" != "-f" ];then echo "You seem to be running aims-complete-install in the live environment," echo "add '-f' to continue anyway; else reboot to the new installation." exit 1 fi systemctl stop unattended-upgrades aims-install-rstudio apt-get -y install sagemath-jupyter jupyter jupyter-notebook python-notebook spyder3 r-cran-irkernel 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) update-grub systemctl start unattended-upgrades