mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-06 15:45:56 +02:00
Delete 99-database_clean.sh
This commit is contained in:
@@ -1,9 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
#Set variable
|
|
||||||
db=/config/addons_config/jellyfin/library.db
|
|
||||||
|
|
||||||
#Modify base
|
|
||||||
if [ -f $db ]; then
|
|
||||||
sqlite3 -quote ${db} "UPDATE TypedBaseItems SET data = replace( data, '/config/jellyfin/', 'config/addons_config/jellyfin/' ) WHERE data LIKE '/config/jellyfin/%'; UPDATE TypedBaseItems SET path = replace( path, '/config/jellyfin/', 'config/addons_config/jellyfin/' ) WHERE path LIKE '/config/jellyfin/%';"
|
|
||||||
fi
|
|
||||||
Reference in New Issue
Block a user