aboutsummaryrefslogtreecommitdiffstats
path: root/setup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'setup.sh')
-rwxr-xr-xsetup.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/setup.sh b/setup.sh
index 5f83919..241efb1 100755
--- a/setup.sh
+++ b/setup.sh
@@ -20,6 +20,7 @@ EOF
--dbset )
sqlite3 data.sqlite < schema.sql
echo cleared
+ chmod 400 data.sqlite
exit;;
esac
@@ -30,4 +31,4 @@ echo Using $PYTHON...
$PYTHON -m pip install ${DEPS[*]}
echo "Enter [i] to initialize a new database"
read CLEAR
-[[ $CLEAR == "i" ]] && sqlite3 bbj.db < schema.sql
+[[ $CLEAR == "i" ]] && sqlite3 bbj.db < schema.sql; chmod 400 data.sqlite
Un proyecto texto-plano.xyz