From 0a8edb91f7ac0ed965f5a5b70a9c04b42450fee5 Mon Sep 17 00:00:00 2001 From: dbarzin Date: Wed, 6 Jul 2022 18:41:41 +0200 Subject: [PATCH] no sudo --- install.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/install.sh b/install.sh index 95426c7..c578055 100755 --- a/install.sh +++ b/install.sh @@ -10,8 +10,8 @@ cd ~ #--------------------- # Python #--------------------- -apt update && sudo apt update -y -apt install -y python-is-python3 python3-pip +apt update && apt upgrade -y +apt install -y python-is-python3 python3-pip apt install -y libssl-dev #--------------------- @@ -125,10 +125,10 @@ usermod -a -G video $SUDO_USER usermod -a -G input $SUDO_USER # Start Pandora at boot -sudo cp pandora.service.sample /etc/systemd/system/pandora.service -sudpo sed -i "s/_USER_/$SUDO_USER/g" /etc/systemd/system/pandora.service -sudo systemctl daemon-reload -sudo systemctl enable pandora +cp pandora.service.sample /etc/systemd/system/pandora.service +sed -i "s/_USER_/$SUDO_USER/g" /etc/systemd/system/pandora.service +systemctl daemon-reload +systemctl enable pandora # Start Pandora-box on getty1 at boot mkdir -p /etc/systemd/system/getty@tty1.service.d