Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Admin9705 committed Sep 17, 2024
1 parent db49f0c commit 55d391d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mods/scripts/menu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ if [[ -z "$SUDO_USER" ]]; then
echo -e "${RED}Run as user '$REQUIRED_USER' by using typing 'su $REQUIRED_USER'"
echo -e "Then type 'sudo plexguide'${NC}"
echo ""
read -p "Press [ENTER] to acknowledge"
read -p "Press [ENTER] to acknowledge 1"
bash /pg/installer/menu_exit.sh
exit 1
elif [[ $SUDO_UID -ne 1000 ]] || [[ $SUDO_GID -ne 1000 ]]; then
echo ""
echo -e "${RED}Run as user '$REQUIRED_USER' by using typing 'su $REQUIRED_USER'"
echo -e "Then type 'sudo plexguide'${NC}"
echo ""
read -p "Press [ENTER] to acknowledge"
read -p "Press [ENTER] to acknowledge 2"
bash /pg/installer/menu_exit.sh
exit 1
elif [[ $EUID -ne 0 ]]; then
Expand All @@ -39,7 +39,7 @@ elif [[ $EUID -ne 0 ]]; then
echo -e "Run as user '$REQUIRED_USER' by using typing 'su $REQUIRED_USER'"
echo -e "Then type 'sudo plexguide'${NC}"
echo ""
read -p "Press [ENTER] to acknowledge"
read -p "Press [ENTER] to acknowledge 3"
bash /pg/installer/menu_exit.sh
exit 1
fi
Expand Down

0 comments on commit 55d391d

Please sign in to comment.