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:
parent
c0276d32c1
commit
88fccbe28f
2 changed files with 3 additions and 6 deletions
|
@ -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")
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
#!/usr/bin/with-contenv bash
|
||||
|
||||
# permissions
|
||||
chown -R root:root /bazarr
|
Loading…
Reference in a new issue