fffffffffff the setup was borked
parent
7d95094cf5
commit
c0c0470460
4
setup.sh
4
setup.sh
|
@ -20,7 +20,7 @@ EOF
|
||||||
--dbset )
|
--dbset )
|
||||||
sqlite3 data.sqlite < schema.sql
|
sqlite3 data.sqlite < schema.sql
|
||||||
echo cleared
|
echo cleared
|
||||||
chmod 400 data.sqlite
|
chmod 600 data.sqlite
|
||||||
exit;;
|
exit;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
@ -31,4 +31,4 @@ echo Using $PYTHON...
|
||||||
$PYTHON -m pip install ${DEPS[*]}
|
$PYTHON -m pip install ${DEPS[*]}
|
||||||
echo "Enter [i] to initialize a new database"
|
echo "Enter [i] to initialize a new database"
|
||||||
read CLEAR
|
read CLEAR
|
||||||
[[ $CLEAR == "i" ]] && sqlite3 bbj.db < schema.sql; chmod 400 data.sqlite
|
[[ $CLEAR == "i" ]] && sqlite3 data.sqlite < schema.sql; chmod 600 data.sqlite
|
||||||
|
|
Loading…
Reference in New Issue