From 69688ef87e3adad2aea525d5fcaf55368b7b2822 Mon Sep 17 00:00:00 2001 From: casjay Date: Tue, 4 Jul 2023 08:57:03 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=83=EF=B8=8F=20Committing=20everything?= =?UTF-8?q?=20that=20changed=20=F0=9F=97=83=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit rootfs/usr/local/etc/docker/init.d/zz-default.sh --- rootfs/usr/local/etc/docker/init.d/zz-default.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rootfs/usr/local/etc/docker/init.d/zz-default.sh b/rootfs/usr/local/etc/docker/init.d/zz-default.sh index 8673008..53df4e9 100755 --- a/rootfs/usr/local/etc/docker/init.d/zz-default.sh +++ b/rootfs/usr/local/etc/docker/init.d/zz-default.sh @@ -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