mirror of
https://github.com/linuxserver/docker-baseimage-alpine.git
synced 2026-02-20 00:47:04 +08:00
Use DIR vars for folder check
This commit is contained in:
parent
019aa0a3d1
commit
b21fa71c22
@ -270,7 +270,7 @@ run_mods() {
|
||||
|
||||
# Main script loop
|
||||
|
||||
if [ ! -d "/custom-cont-init.d" ] && [ ! -d "/custom-services.d" ]; then
|
||||
if [ ! -d "${SCRIPTS_DIR}" ] && [ ! -d "${SERVICES_DIR}" ]; then
|
||||
# Tamper check legacy custom folders
|
||||
tamper_check_legacy
|
||||
process_custom_services_legacy
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user