Fix no root
This commit is contained in:
parent
23af299538
commit
1231b659dc
|
@ -157,7 +157,7 @@ clone_dotfiles() {
|
||||||
|
|
||||||
mkdir -p $HOME/.config/dotfiles/.data
|
mkdir -p $HOME/.config/dotfiles/.data
|
||||||
|
|
||||||
if [ "$sudo_available" != "true" ]; then
|
if [ $sudo_available -ne 0 ]; then
|
||||||
touch $HOME/.config/dotfiles/.data/noroot
|
touch $HOME/.config/dotfiles/.data/noroot
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue