This commit is contained in:
2022-06-18 17:00:02 +03:00
parent 831f75f755
commit b316190ba3

View File

@@ -1,6 +1,8 @@
sudo apt -y update sudo apt -y update
sudo apt -y install wget nano curl zsh git --allow-unauthenticated sudo apt -y install wget nano curl zsh git --allow-unauthenticated
if [ "$(ls /etc/sudoers.d |grep saret)" != "saret" ]; then
sudo printf "saret\tALL=(ALL) NOPASSWD:ALL" >/etc/sudoers.d/saret sudo printf "saret\tALL=(ALL) NOPASSWD:ALL" >/etc/sudoers.d/saret
fi
s=$(grep -i "VERSION=" /etc/os-release) s=$(grep -i "VERSION=" /etc/os-release)
echo $s echo $s
if [ "$s" = 'VERSION="9 (stretch)"' ]; if [ "$s" = 'VERSION="9 (stretch)"' ];