mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-07-28 17:00:33 +02:00
Config location changed
This commit is contained in:
@@ -1,4 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
mkdir -p /config/qBittorrent
|
||||
mkdir -p /config/addons_config/qBittorrent
|
||||
|
||||
if [ -f /config/qBittorrent/qBittorrent.conf ]; then
|
||||
echo "Migrating previous folder"
|
||||
cp -prf /config/qBittorrent/* /config/addons_config/qBittorrent/
|
||||
rm -r /config/qBittorrent/*
|
||||
echo "Files were moved to /config/addons_config/qBittorrent" > /config/qBittorrent/filesmoved
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user