Skip to content

Commit

Permalink
no more sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
mcdowellster committed Mar 20, 2024
1 parent b2c5a53 commit 891e9c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions autogl/gogograylog.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ fi
if [[ "$1" == "--latest" ]]; then
echo -e "${URED}You've opted to use the latest graylog release.${NC}\n\n You sure? [y/n]"
read CHOICE
if [[ $CHOICE != @(y|Y|yes|YES|Yes) ]]; then
if [[ $CHOICE != @(y|Y|yes|YES|Yes) ]]; then
echo -e "I got an input of ${URED}$CHOICE${NC} so I'm assuming that's a no. Exiting!"
exit 1
else
Expand Down Expand Up @@ -152,7 +152,7 @@ if [ "$APT_IS_PRESENT" ]; then
export DEBIAN_FRONTEND=noninteractive
if [ "$DOCKER_IS_INSTALLED" ]; then
echo -e "${URED}Removing current docker install${NC}"
sudo apt-get remove -y docker docker-engine docker.io containerd runc &>> "$LOG_FILE"
apt-get remove -y docker docker-engine docker.io containerd runc &>> "$LOG_FILE"
fi
updateSystem

Expand Down

0 comments on commit 891e9c1

Please sign in to comment.