Refresh apt-cache before installing dictionaries
authorIOhannes m zmölnig <redacted>
Thu, 24 Apr 2025 09:12:48 +0000 (11:12 +0200)
committerIOhannes m zmölnig <redacted>
Thu, 24 Apr 2025 13:23:04 +0000 (15:23 +0200)
Closes: https://github.com/roundcube/roundcubemail-docker/issues/334
Signed-off-by: IOhannes m zmölnig <redacted>
apache/docker-entrypoint.sh
fpm-alpine/docker-entrypoint.sh
fpm/docker-entrypoint.sh
templates/docker-entrypoint.sh

index 95174b47f4f63570c91006b918dbaaa3acf6763e..d2cbe0b1001ca0dd4cbf8d1e228ec5f8e390be27 100755 (executable)
@@ -195,7 +195,7 @@ if  [[ "$1" == apache2* || "$1" == php-fpm || "$1" == bin* ]]; then
 
   if [ ! -z "${ROUNDCUBEMAIL_ASPELL_DICTS}" ]; then
     ASPELL_PACKAGES=`echo -n "aspell-${ROUNDCUBEMAIL_ASPELL_DICTS}" | sed -E "s/[, ]+/ aspell-/g"`
-    which apt-get && apt-get install -y $ASPELL_PACKAGES
+    which apt-get && apt-get update && apt-get install -y $ASPELL_PACKAGES
     which apk && apk add --no-cache $ASPELL_PACKAGES
   fi
 
index 95174b47f4f63570c91006b918dbaaa3acf6763e..d2cbe0b1001ca0dd4cbf8d1e228ec5f8e390be27 100755 (executable)
@@ -195,7 +195,7 @@ if  [[ "$1" == apache2* || "$1" == php-fpm || "$1" == bin* ]]; then
 
   if [ ! -z "${ROUNDCUBEMAIL_ASPELL_DICTS}" ]; then
     ASPELL_PACKAGES=`echo -n "aspell-${ROUNDCUBEMAIL_ASPELL_DICTS}" | sed -E "s/[, ]+/ aspell-/g"`
-    which apt-get && apt-get install -y $ASPELL_PACKAGES
+    which apt-get && apt-get update && apt-get install -y $ASPELL_PACKAGES
     which apk && apk add --no-cache $ASPELL_PACKAGES
   fi
 
index 95174b47f4f63570c91006b918dbaaa3acf6763e..d2cbe0b1001ca0dd4cbf8d1e228ec5f8e390be27 100755 (executable)
@@ -195,7 +195,7 @@ if  [[ "$1" == apache2* || "$1" == php-fpm || "$1" == bin* ]]; then
 
   if [ ! -z "${ROUNDCUBEMAIL_ASPELL_DICTS}" ]; then
     ASPELL_PACKAGES=`echo -n "aspell-${ROUNDCUBEMAIL_ASPELL_DICTS}" | sed -E "s/[, ]+/ aspell-/g"`
-    which apt-get && apt-get install -y $ASPELL_PACKAGES
+    which apt-get && apt-get update && apt-get install -y $ASPELL_PACKAGES
     which apk && apk add --no-cache $ASPELL_PACKAGES
   fi
 
index 95174b47f4f63570c91006b918dbaaa3acf6763e..d2cbe0b1001ca0dd4cbf8d1e228ec5f8e390be27 100644 (file)
@@ -195,7 +195,7 @@ if  [[ "$1" == apache2* || "$1" == php-fpm || "$1" == bin* ]]; then
 
   if [ ! -z "${ROUNDCUBEMAIL_ASPELL_DICTS}" ]; then
     ASPELL_PACKAGES=`echo -n "aspell-${ROUNDCUBEMAIL_ASPELL_DICTS}" | sed -E "s/[, ]+/ aspell-/g"`
-    which apt-get && apt-get install -y $ASPELL_PACKAGES
+    which apt-get && apt-get update && apt-get install -y $ASPELL_PACKAGES
     which apk && apk add --no-cache $ASPELL_PACKAGES
   fi
 
git clone https://git.99rst.org/PROJECT