From 2b21d753f394e492ae530b1973abde84c8966fdd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20K=C3=B6rber?= Date: Wed, 9 Dec 2020 20:11:57 +0100 Subject: [PATCH] Fix automated install after bootstrapping --- install_scripts/ares-bootstrap.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/install_scripts/ares-bootstrap.sh b/install_scripts/ares-bootstrap.sh index 83a5944..e36ee14 100755 --- a/install_scripts/ares-bootstrap.sh +++ b/install_scripts/ares-bootstrap.sh @@ -11,11 +11,11 @@ git clone --recursive https://code.hkoerber.de/hannes/dotfiles.git ./dotfiles/install_scripts/ares.sh /dev/sda mv /root/dotfiles /mnt/root/dotfiles -cat << EOF > /mnt/root/.bashrc -set -o errexit -/root/dotfiles/install.sh -rm /root/.bashrc -reboot +cat << EOF > /mnt/root/.bash_profile +if /root/dotfiles/install.sh ; then + rm -f /root/.bash_profile + reboot +fi EOF umount -R /mnt