Create an empty SQLite database here.

pull/212/head v2.0.2
Joe Prochazka 2016-05-12 20:48:46 -04:00
rodzic b6bdb8426a
commit fd67de11ae
1 zmienionych plików z 6 dodań i 1 usunięć

Wyświetl plik

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