1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2024-12-25 17:17:12 +00:00

Continuing development and removing root directory

This commit is contained in:
Louis Vézina 2018-10-16 20:13:08 -04:00
parent c0276d32c1
commit 88fccbe28f
2 changed files with 3 additions and 6 deletions

View file

@ -1,8 +1,6 @@
from get_argv import config_dir
from get_settings import get_general_settings
from scheduler import shutdown_scheduler
from main import restart
import os
import logging
@ -44,6 +42,9 @@ def check_and_apply_update():
updated()
def updated():
from scheduler import shutdown_scheduler
from main import restart
conn = sqlite3.connect(os.path.join(config_dir, 'db/bazarr.db'), timeout=30)
c = conn.cursor()
c.execute("UPDATE system SET updated = 1")

View file

@ -1,4 +0,0 @@
#!/usr/bin/with-contenv bash
# permissions
chown -R root:root /bazarr