mirror of
https://github.com/YuCat-OVO/BaiduNetdisk-Docker
synced 2025-05-10 20:10:04 +08:00
14 lines
333 B
Plaintext
14 lines
333 B
Plaintext
#!/usr/bin/with-contenv bash
|
|
# shellcheck shell=bash
|
|
|
|
# default file copies first run
|
|
if [[ ! -f /config/.config/openbox/menu.xml ]]; then
|
|
mkdir -p /config/.config/openbox && \
|
|
cp /defaults/menu.xml /config/.config/openbox/menu.xml && \
|
|
lsiown -R abc:abc /config/.config
|
|
fi
|
|
|
|
# permissions
|
|
lsiown -R abc:abc \
|
|
/config
|