mirror of
https://github.com/RiffSphere/Collectarr.git
synced 2025-12-30 09:49:48 -06:00
15 lines
415 B
Bash
15 lines
415 B
Bash
#!/usr/bin/with-contenv bash
|
|
if [[ ! -f /config/collectarr.conf ]]; then
|
|
echo "First run, cloning config into /config"
|
|
mv /app/collectarr.conf.example /config
|
|
fi
|
|
if [[ ! -f /config/blacklist_collection.conf ]]; then
|
|
mv /app/blacklist_collection.conf /config
|
|
fi
|
|
if [[ ! -f /config/blacklist_actor.conf ]]; then
|
|
mv /app/blacklist_actor.conf /config
|
|
fi
|
|
|
|
chown -R root:root /config
|
|
chmod -R 777 /config
|