From b65d4cb11694e9528c8fff7833cba8b0f35a6352 Mon Sep 17 00:00:00 2001 From: Itai Nelken <70802936+Itai-Nelken@users.noreply.github.com> Date: Sun, 6 Jun 2021 20:00:16 +0300 Subject: [PATCH] Update install --- install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install b/install index 3ba27a0..58848a7 100755 --- a/install +++ b/install @@ -7,7 +7,7 @@ function error { cd $HOME -if [[ "$EUID" == 0 ]]; then +if [[ "$(id -u)" == 0 ]]; then error "You cant install pi-apps as root! please try again as a regular user." fi