We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5458fc commit a10e377Copy full SHA for a10e377
openproject/rootfs/etc/cont-init.d/99-run.sh
@@ -5,7 +5,7 @@ bashio::log.info "Starting OpenProject"
5
# Ensure persistence for PGDATA and asset folders
6
for folder in pg assets; do
7
mkdir -p /data/"$folder"
8
- if [ -d /config/"$folder" ] && [ "$(ls -A /config/"$folder")" ]; then
+ if [ -d /config/"$folder" ] && [ "$(ls -A /config/"$folder"/)" ]; then
9
# Copy only if source is non-empty
10
cp -rf /config/"$folder"/. /data/"$folder"/
11
rm -rf /config/"$folder"
0 commit comments