Skip to content

Commit 9477fb8

Browse files
committed
Update docker-entrypoint.sh
1 parent 282e0fe commit 9477fb8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

director/docker-entrypoint.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@ if [ ! -f /etc/bareos/bareos-config.control ]; then
8383
touch /etc/bareos/bareos-config.control
8484
fi
8585
# test if scrip is here case of migration from debian
86-
if! -d /etc/bareos/scripts ] ; then
86+
if [ ! -d /etc/bareos/scripts ]; then
87+
echo "init scripts dir"
8788
tar -xzf /bareos-dir.tgz etc/bareos/scripts
8889
fi
8990
if [[ -z ${CI_TEST} ]] ; then

0 commit comments

Comments
 (0)