Fix copy logic

This commit is contained in:
TheSpad 2022-09-22 18:17:34 +01:00
parent d8d899bab2
commit 2e5ffffa57
No known key found for this signature in database
GPG Key ID: 08F06191F4587860

View File

@ -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