Skip to content

Commit

Permalink
review: add notice about issue #3
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanaugustobds committed Dec 31, 2022
1 parent 6a9bfc2 commit be9587a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions install.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/bin/bash -e

[ "$(whoami)" = 'root' ] && echo 'This script CANNOT be executed as root. Try again with your own user.' && exit 1
[ "$(id -u)" -ne 1000 ] && echo -e "Currently we only support users with UID 1000 (the one created when you installed your system).\n$(tput bold)@see$(tput sgr0) $(tput smul)https://github.com/discorgento/magento2-auto-setup/issues/3" && exit 1

INSTALL_DIR=$(dirname "$0")
LOG_FILE="$INSTALL_DIR"/install.log
Expand Down

0 comments on commit be9587a

Please sign in to comment.