From 2f75c962e9a26f9ddc7cd0353fe709eb2b18097e Mon Sep 17 00:00:00 2001 From: Stefan Pejcic Date: Fri, 16 May 2025 11:25:52 +0200 Subject: [PATCH] get rid of sudo get rid of sudo --- install.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/install.sh b/install.sh index e93e6c60..8737382b 100644 --- a/install.sh +++ b/install.sh @@ -1210,7 +1210,7 @@ if [[ "$root_entry" =~ "usrquota" && "$root_entry" =~ "grpquota" ]]; then echo "Success, usrquota and grpquota are already set for /" else # Add usrquota and grpquota to the fstab entry (only for the root entry) - sudo sed -i -E '/\s+\/\s+/s/(\S+)(\s+\/\s+\S+\s+\S+)(\s+[0-9]+\s+[0-9]+)$/\1\2,usrquota,grpquota\3/' "$fstab_file" + sed -i -E '/\s+\/\s+/s/(\S+)(\s+\/\s+\S+\s+\S+)(\s+[0-9]+\s+[0-9]+)$/\1\2,usrquota,grpquota\3/' "$fstab_file" fi systemctl daemon-reload >/dev/null 2>&1 quotaoff -a >/dev/null 2>&1 @@ -1632,8 +1632,8 @@ install_python312() { debug_log add-apt-repository -y ppa:deadsnakes/ppa elif [ "$OS" == "debian" ]; then echo "Debian detected, adding backports repository." - wget --inet4-only -qO- https://pascalroeleven.nl/deb-pascalroeleven.gpg | sudo tee /etc/apt/keyrings/deb-pascalroeleven.gpg &> /dev/null - cat < /dev/null + cat < /dev/null - debug_log cat < /dev/null + debug_log cat <