Browse Source

Check working dir is empty before init

umbrel-beta
Luke Childs 4 years ago
parent
commit
029052d09b
  1. 5
      umbrel-dev

5
umbrel-dev

@ -77,6 +77,11 @@ if [[ "$command" = "init" ]]; then
"getumbrel/umbrel-dashboard getumbrel/dashboard"
)
if [[ "$(ls -A)" ]]; then
echo "Working directory must be empty!"
exit 1
fi
echo "Creating Vagrantfile..."
cp "$(get_script_location)/Vagrantfile" .

Loading…
Cancel
Save