From 1231b659dc13f7270c7bfb188b7276575cc1bf8c Mon Sep 17 00:00:00 2001 From: Thomas Forgione Date: Fri, 3 May 2019 11:04:17 +0200 Subject: [PATCH] Fix no root --- tforgione.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tforgione.sh b/tforgione.sh index 3575342..c66ac7e 100755 --- a/tforgione.sh +++ b/tforgione.sh @@ -157,7 +157,7 @@ clone_dotfiles() { mkdir -p $HOME/.config/dotfiles/.data - if [ "$sudo_available" != "true" ]; then + if [ $sudo_available -ne 0 ]; then touch $HOME/.config/dotfiles/.data/noroot fi fi