From 2e5ffffa5741539ff047990da9b5e6772f470108 Mon Sep 17 00:00:00 2001 From: TheSpad Date: Thu, 22 Sep 2022 18:17:34 +0100 Subject: [PATCH] Fix copy logic --- root/etc/s6-overlay/s6-rc.d/init-openboxcopy/run | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/root/etc/s6-overlay/s6-rc.d/init-openboxcopy/run b/root/etc/s6-overlay/s6-rc.d/init-openboxcopy/run index f22df65..e7504d5 100755 --- a/root/etc/s6-overlay/s6-rc.d/init-openboxcopy/run +++ b/root/etc/s6-overlay/s6-rc.d/init-openboxcopy/run @@ -1,7 +1,8 @@ #!/usr/bin/with-contenv bash # default file copies first run -[[ ! -f /config/.config/openbox/menu.xml ]] && \ +if [[ ! -f /config/.config/openbox/menu.xml ]]; then mkdir -p /config/.config/openbox && \ cp /defaults/menu.xml /config/.config/openbox/menu.xml && \ chown -R abc:abc /config/.config +fi