removed comment for sudo

This commit is contained in:
lunardunno
2023-11-29 10:57:26 +04:00
committed by GitHub
parent 5b29678348
commit 06cbaa75c8
+1 -1
View File
@@ -5,7 +5,7 @@ else echo "Packet manager not found"; exit 1; fi;\
echo "Dist: $dist, Packet manager: $pm, Install command: $silent_inst, Check pkgs command: $check_pkgs, Docker pkg: $docker_pkg";\
if [ "$dist" = "debian" ]; then export DEBIAN_FRONTEND=noninteractive; fi;\
if ! command -v sudo > /dev/null 2>&1; then $pm $check_pkgs; $pm $silent_inst sudo;\
if ! command -v sudo > /dev/null 2>&1; then echo "sudo not installed"; sudo; fi;\
if ! command -v sudo > /dev/null 2>&1; then sudo; fi;\
fi;\
if ! command -v fuser > /dev/null 2>&1; then sudo $pm $check_pkgs; sudo $pm $silent_inst psmisc;\
if ! command -v fuser > /dev/null 2>&1; then fuser; fi;\