fffffffffff the setup was borked

pull/4/head
Blake DeMarcy 2017-04-05 17:24:43 -05:00
parent 7d95094cf5
commit c0c0470460
1 changed files with 2 additions and 2 deletions

View File

@ -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