🗃️ Committing everything that changed 🗃️

rootfs/usr/local/etc/docker/init.d/zz-default.sh
This commit is contained in:
casjay 2023-07-04 08:57:03 -04:00
parent 9cb5d26793
commit 69688ef87e
No known key found for this signature in database
GPG Key ID: 4F765975C1F0EE5F

View File

@ -172,7 +172,8 @@ __pre_execute() {
# define commands
[ -d "$rargb_dir" ] || mkdir -p "$rargb_dir"
[ -f "$rargb_dir/database.sqlite" ] || cp -Rf "$rargb_db" "$rargb_dir/database.sqlite"
# execute if directories is empty
[ -f "/config/rarbg/trackers.txt" ] || cp -Rf "/usr/local/share/template-files/config/rarbg/trackers.txt" "/config/rarbg/trackers.txt"
# execute if directories is empty
#__is_dir_empty "" &&
# create user if needed