keeping pi ownership of all files in BirdNET-Pi dir

This commit is contained in:
Patrick McGuire
2021-12-01 16:22:18 -05:00
parent 94308a64d3
commit e32471cd17
3 changed files with 10 additions and 8 deletions
+2 -2
View File
@@ -36,9 +36,9 @@ install_mariadb() {
echo "Initializing the database"
source /etc/os-release
if [[ "${VERSION_CODENAME}" == "buster" ]];then
${my_dir}/createdb_buster.sh
USER=${USER} ${my_dir}/createdb_buster.sh
elif [[ "${VERSION_CODENAME}" == "bullseye" ]];then
${my_dir}/createdb_bullseye.sh
USER=${USER} ${my_dir}/createdb_bullseye.sh
fi
}