Hide error on empty folder
authorRodolfo Villaruz <redacted>
Fri, 11 May 2018 03:25:58 +0000 (03:25 +0000)
committerRodolfo Villaruz <redacted>
Fri, 11 May 2018 03:25:58 +0000 (03:25 +0000)
php-apache/docker-entrypoint.sh
php-fpm/docker-entrypoint.sh

index e14c0bd28b807ba80a8a8447e0f95a313f4d1fc1..294bb440386cd59f4a1539d69de006fe546817bb 100755 (executable)
@@ -74,7 +74,7 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then
     \$config['log_driver'] = 'stdout';
     " > config/config.inc.php
 
-    for fn in `ls /var/roundcube/config/*.php`; do
+    for fn in `ls /var/roundcube/config/*.php 2>/dev/null || true`; do
       echo "include('$fn');" >> config/config.inc.php
     done
 
index 884b4c0065fe72b4ba685e3f6dfd476b8ab9c6e8..2ec37662dcc56cf2264221e70b73c2b5ec421613 100755 (executable)
@@ -74,7 +74,7 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then
     \$config['log_driver'] = 'stdout';
     " > config/config.inc.php
 
-    for fn in `ls /var/roundcube/config/*.php`; do
+    for fn in `ls /var/roundcube/config/*.php 2>/dev/null || true`; do
       echo "include('$fn');" >> config/config.inc.php
     done
 
git clone https://git.99rst.org/PROJECT