Skip to content

Commit a10e377

Browse files
authored
Update 99-run.sh
1 parent f5458fc commit a10e377

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openproject/rootfs/etc/cont-init.d/99-run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ bashio::log.info "Starting OpenProject"
55
# Ensure persistence for PGDATA and asset folders
66
for folder in pg assets; do
77
mkdir -p /data/"$folder"
8-
if [ -d /config/"$folder" ] && [ "$(ls -A /config/"$folder")" ]; then
8+
if [ -d /config/"$folder" ] && [ "$(ls -A /config/"$folder"/)" ]; then
99
# Copy only if source is non-empty
1010
cp -rf /config/"$folder"/. /data/"$folder"/
1111
rm -rf /config/"$folder"

0 commit comments

Comments
 (0)