Wizzatrd: create .enabled, fix some typos

Signed-off-by: Václav Valíček <valicek1994@gmail.com>
This commit is contained in:
2022-08-07 21:47:58 +02:00
parent 1fef7bc404
commit 05328547e1
2 changed files with 5 additions and 21 deletions

View File

@@ -1,18 +0,0 @@
#!/bin/bash
echo "First run - initialization of repos..."
if ! env BASE=$root run-checker
then
echo -n "First run failed - remove directory? [Y/n]"
read read_cleanup
[ -n "$read_cleanup" ] || read_cleanup=Y
if [[ "$read_cleanup" =~ ^[Yy]$ ]]
then
rm -Rf $root
fi
else
echo "Setup has finished!"
touch $root/.enabled
fi