mirror of
https://github.com/casjaysdevdocker/rarbg
synced 2025-01-18 12:34:22 -05:00
🗃️ Committing everything that changed 🗃️
rootfs/usr/local/etc/docker/init.d/zz-default.sh
This commit is contained in:
parent
9cb5d26793
commit
69688ef87e
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user