Fix no root
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user