Skip to content

Commit

Permalink
Create an empty SQLite database here.
Browse files Browse the repository at this point in the history
  • Loading branch information
jprochazka committed May 13, 2016
1 parent b6bdb84 commit fd67de1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion bash/image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,12 @@ if [[ $ADVANCED =~ ^[yY]$ ]]; then
echo "Database Name: ${DATABASENAME}"
echo -e "\033[37m"
read -p "Press enter to continue..." CONTINUE
fi
if [[ $DATABASEENGINE == 2 ]]; then
# Create and empty SQLite databse and set the proper permissions on it.
sudo sqlite3 ${DOCUMENTROOT}/data/portal.sqlite ""
sudo chmod 666 ${DOCUMENTROOT}/data/portal.sqlite
fi
## SETUP FLIGHT LOGGING SCRIPT
Expand Down

0 comments on commit fd67de1

Please sign in to comment.