From e90deb3bfbb6e28099a287cac02e996520095431 Mon Sep 17 00:00:00 2001 From: dbarzin Date: Mon, 4 Jul 2022 21:20:31 +0200 Subject: [PATCH] update install --- INSTALL.md | 2 +- install.sh | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index 27986d5..c6c1d51 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -9,7 +9,7 @@ Choose to "install OpenSSH server" That's all, no other packages needed -After reboot, login with the user create during the install and type : +After reboot, login with the user created during the install and type : sudo apt install git git clone https://github.com/dbarzin/pandora-box diff --git a/install.sh b/install.sh index 92eb3af..424f5d4 100755 --- a/install.sh +++ b/install.sh @@ -117,6 +117,9 @@ echo "StandardInput=tty" >> /etc/systemd/system/getty@tty1.service.d/override.co echo "StandardOutput=tty" >> /etc/systemd/system/getty@tty1.service.d/override.conf echo "Type=idle" >> /etc/systemd/system/getty@tty1.service.d/override.conf +# Update pandora now +su - $SUDO_USER -c "cd /home/$SUDO_USER/pandora ; poetry run update --yes" + +# Then reboot ! reboot -