mirror of
https://github.com/danog/php.git
synced 2024-11-26 20:04:58 +01:00
Merge pull request #1123 from infosiftr/fix-enable
Adjust "docker-php-ext-enable" to use "grep -Fx"
This commit is contained in:
commit
480de801db
2
7.3/alpine3.12/cli/docker-php-ext-enable
generated
2
7.3/alpine3.12/cli/docker-php-ext-enable
generated
@ -111,7 +111,7 @@ for module in $modules; do
|
||||
ini="$PHP_INI_DIR/conf.d/${iniName:-"docker-php-ext-$ext.ini"}"
|
||||
;;
|
||||
esac
|
||||
if ! grep -q "$line" "$ini" 2>/dev/null; then
|
||||
if ! grep -qFx -e "$line" -e "$line.so" "$ini" 2>/dev/null; then
|
||||
echo "$line" >> "$ini"
|
||||
fi
|
||||
done
|
||||
|
2
7.3/alpine3.12/fpm/docker-php-ext-enable
generated
2
7.3/alpine3.12/fpm/docker-php-ext-enable
generated
@ -111,7 +111,7 @@ for module in $modules; do
|
||||
ini="$PHP_INI_DIR/conf.d/${iniName:-"docker-php-ext-$ext.ini"}"
|
||||
;;
|
||||
esac
|
||||
if ! grep -q "$line" "$ini" 2>/dev/null; then
|
||||
if ! grep -qFx -e "$line" -e "$line.so" "$ini" 2>/dev/null; then
|
||||
echo "$line" >> "$ini"
|
||||
fi
|
||||
done
|
||||
|
2
7.3/alpine3.12/zts/docker-php-ext-enable
generated
2
7.3/alpine3.12/zts/docker-php-ext-enable
generated
@ -111,7 +111,7 @@ for module in $modules; do
|
||||
ini="$PHP_INI_DIR/conf.d/${iniName:-"docker-php-ext-$ext.ini"}"
|
||||
;;
|
||||
esac
|
||||
if ! grep -q "$line" "$ini" 2>/dev/null; then
|
||||
if ! grep -qFx -e "$line" -e "$line.so" "$ini" 2>/dev/null; then
|
||||
echo "$line" >> "$ini"
|
||||
fi
|
||||
done
|
||||
|
2
7.3/alpine3.13/cli/docker-php-ext-enable
generated
2
7.3/alpine3.13/cli/docker-php-ext-enable
generated
@ -111,7 +111,7 @@ for module in $modules; do
|
||||
ini="$PHP_INI_DIR/conf.d/${iniName:-"docker-php-ext-$ext.ini"}"
|
||||
;;
|
||||
esac
|
||||
if ! grep -q "$line" "$ini" 2>/dev/null; then
|
||||
if ! grep -qFx -e "$line" -e "$line.so" "$ini" 2>/dev/null; then
|
||||
echo "$line" >> "$ini"
|
||||
fi
|
||||
done
|
||||
|
2
7.3/alpine3.13/fpm/docker-php-ext-enable
generated
2
7.3/alpine3.13/fpm/docker-php-ext-enable
generated
@ -111,7 +111,7 @@ for module in $modules; do
|
||||
ini="$PHP_INI_DIR/conf.d/${iniName:-"docker-php-ext-$ext.ini"}"
|
||||
;;
|
||||
esac
|
||||
if ! grep -q "$line" "$ini" 2>/dev/null; then
|
||||
if ! grep -qFx -e "$line" -e "$line.so" "$ini" 2>/dev/null; then
|
||||
echo "$line" >> "$ini"
|
||||
fi
|
||||
done
|
||||
|
2
7.3/alpine3.13/zts/docker-php-ext-enable
generated
2
7.3/alpine3.13/zts/docker-php-ext-enable
generated
@ -111,7 +111,7 @@ for module in $modules; do
|
||||
ini="$PHP_INI_DIR/conf.d/${iniName:-"docker-php-ext-$ext.ini"}"
|
||||
;;
|
||||
esac
|
||||
if ! grep -q "$line" "$ini" 2>/dev/null; then
|
||||
if ! grep -qFx -e "$line" -e "$line.so" "$ini" 2>/dev/null; then
|
||||
echo "$line" >> "$ini"
|
||||
fi
|
||||
done
|
||||
|
2
7.3/buster/apache/docker-php-ext-enable
generated
2
7.3/buster/apache/docker-php-ext-enable
generated
@ -111,7 +111,7 @@ for module in $modules; do
|
||||
ini="$PHP_INI_DIR/conf.d/${iniName:-"docker-php-ext-$ext.ini"}"
|
||||
;;
|
||||
esac
|
||||
if ! grep -q "$line" "$ini" 2>/dev/null; then
|
||||
if ! grep -qFx -e "$line" -e "$line.so" "$ini" 2>/dev/null; then
|
||||
echo "$line" >> "$ini"
|
||||
fi
|
||||
done
|
||||
|
2
7.3/buster/cli/docker-php-ext-enable
generated
2
7.3/buster/cli/docker-php-ext-enable
generated
@ -111,7 +111,7 @@ for module in $modules; do
|
||||
ini="$PHP_INI_DIR/conf.d/${iniName:-"docker-php-ext-$ext.ini"}"
|
||||
;;
|
||||
esac
|
||||
if ! grep -q "$line" "$ini" 2>/dev/null; then
|
||||
if ! grep -qFx -e "$line" -e "$line.so" "$ini" 2>/dev/null; then
|
||||
echo "$line" >> "$ini"
|
||||
fi
|
||||
done
|
||||
|
2
7.3/buster/fpm/docker-php-ext-enable
generated
2
7.3/buster/fpm/docker-php-ext-enable
generated
@ -111,7 +111,7 @@ for module in $modules; do
|
||||
ini="$PHP_INI_DIR/conf.d/${iniName:-"docker-php-ext-$ext.ini"}"
|
||||
;;
|
||||
esac
|
||||
if ! grep -q "$line" "$ini" 2>/dev/null; then
|
||||
if ! grep -qFx -e "$line" -e "$line.so" "$ini" 2>/dev/null; then
|
||||
echo "$line" >> "$ini"
|
||||
fi
|
||||
done
|
||||
|
2
7.3/buster/zts/docker-php-ext-enable
generated
2
7.3/buster/zts/docker-php-ext-enable
generated
@ -111,7 +111,7 @@ for module in $modules; do
|
||||
ini="$PHP_INI_DIR/conf.d/${iniName:-"docker-php-ext-$ext.ini"}"
|
||||
;;
|
||||
esac
|
||||
if ! grep -q "$line" "$ini" 2>/dev/null; then
|
||||
if ! grep -qFx -e "$line" -e "$line.so" "$ini" 2>/dev/null; then
|
||||
echo "$line" >> "$ini"
|
||||
fi
|
||||
done
|
||||
|
2
7.3/stretch/apache/docker-php-ext-enable
generated
2
7.3/stretch/apache/docker-php-ext-enable
generated
@ -111,7 +111,7 @@ for module in $modules; do
|
||||
ini="$PHP_INI_DIR/conf.d/${iniName:-"docker-php-ext-$ext.ini"}"
|
||||
;;
|
||||
esac
|
||||
if ! grep -q "$line" "$ini" 2>/dev/null; then
|
||||
if ! grep -qFx -e "$line" -e "$line.so" "$ini" 2>/dev/null; then
|
||||
echo "$line" >> "$ini"
|
||||
fi
|
||||
done
|
||||
|
2
7.3/stretch/cli/docker-php-ext-enable
generated
2
7.3/stretch/cli/docker-php-ext-enable
generated
@ -111,7 +111,7 @@ for module in $modules; do
|
||||
ini="$PHP_INI_DIR/conf.d/${iniName:-"docker-php-ext-$ext.ini"}"
|
||||
;;
|
||||
esac
|
||||
if ! grep -q "$line" "$ini" 2>/dev/null; then
|
||||
if ! grep -qFx -e "$line" -e "$line.so" "$ini" 2>/dev/null; then
|
||||
echo "$line" >> "$ini"
|
||||
fi
|
||||
done
|
||||
|
2
7.3/stretch/fpm/docker-php-ext-enable
generated
2
7.3/stretch/fpm/docker-php-ext-enable
generated
@ -111,7 +111,7 @@ for module in $modules; do
|
||||
ini="$PHP_INI_DIR/conf.d/${iniName:-"docker-php-ext-$ext.ini"}"
|
||||
;;
|
||||
esac
|
||||
if ! grep -q "$line" "$ini" 2>/dev/null; then
|
||||
if ! grep -qFx -e "$line" -e "$line.so" "$ini" 2>/dev/null; then
|
||||
echo "$line" >> "$ini"
|
||||
fi
|
||||
done
|
||||
|
2
7.3/stretch/zts/docker-php-ext-enable
generated
2
7.3/stretch/zts/docker-php-ext-enable
generated
@ -111,7 +111,7 @@ for module in $modules; do
|
||||
ini="$PHP_INI_DIR/conf.d/${iniName:-"docker-php-ext-$ext.ini"}"
|
||||
;;
|
||||
esac
|
||||
if ! grep -q "$line" "$ini" 2>/dev/null; then
|
||||
if ! grep -qFx -e "$line" -e "$line.so" "$ini" 2>/dev/null; then
|
||||
echo "$line" >> "$ini"
|
||||
fi
|
||||
done
|
||||
|
2
7.4/alpine3.12/cli/docker-php-ext-enable
generated
2
7.4/alpine3.12/cli/docker-php-ext-enable
generated
@ -111,7 +111,7 @@ for module in $modules; do
|
||||
ini="$PHP_INI_DIR/conf.d/${iniName:-"docker-php-ext-$ext.ini"}"
|
||||
;;
|
||||
esac
|
||||
if ! grep -q "$line" "$ini" 2>/dev/null; then
|
||||
if ! grep -qFx -e "$line" -e "$line.so" "$ini" 2>/dev/null; then
|
||||
echo "$line" >> "$ini"
|
||||
fi
|
||||
done
|
||||
|
2
7.4/alpine3.12/fpm/docker-php-ext-enable
generated
2
7.4/alpine3.12/fpm/docker-php-ext-enable
generated
@ -111,7 +111,7 @@ for module in $modules; do
|
||||
ini="$PHP_INI_DIR/conf.d/${iniName:-"docker-php-ext-$ext.ini"}"
|
||||
;;
|
||||
esac
|
||||
if ! grep -q "$line" "$ini" 2>/dev/null; then
|
||||
if ! grep -qFx -e "$line" -e "$line.so" "$ini" 2>/dev/null; then
|
||||
echo "$line" >> "$ini"
|
||||
fi
|
||||
done
|
||||
|
2
7.4/alpine3.12/zts/docker-php-ext-enable
generated
2
7.4/alpine3.12/zts/docker-php-ext-enable
generated
@ -111,7 +111,7 @@ for module in $modules; do
|
||||
ini="$PHP_INI_DIR/conf.d/${iniName:-"docker-php-ext-$ext.ini"}"
|
||||
;;
|
||||
esac
|
||||
if ! grep -q "$line" "$ini" 2>/dev/null; then
|
||||
if ! grep -qFx -e "$line" -e "$line.so" "$ini" 2>/dev/null; then
|
||||
echo "$line" >> "$ini"
|
||||
fi
|
||||
done
|
||||
|
2
7.4/alpine3.13/cli/docker-php-ext-enable
generated
2
7.4/alpine3.13/cli/docker-php-ext-enable
generated
@ -111,7 +111,7 @@ for module in $modules; do
|
||||
ini="$PHP_INI_DIR/conf.d/${iniName:-"docker-php-ext-$ext.ini"}"
|
||||
;;
|
||||
esac
|
||||
if ! grep -q "$line" "$ini" 2>/dev/null; then
|
||||
if ! grep -qFx -e "$line" -e "$line.so" "$ini" 2>/dev/null; then
|
||||
echo "$line" >> "$ini"
|
||||
fi
|
||||
done
|
||||
|
2
7.4/alpine3.13/fpm/docker-php-ext-enable
generated
2
7.4/alpine3.13/fpm/docker-php-ext-enable
generated
@ -111,7 +111,7 @@ for module in $modules; do
|
||||
ini="$PHP_INI_DIR/conf.d/${iniName:-"docker-php-ext-$ext.ini"}"
|
||||
;;
|
||||
esac
|
||||
if ! grep -q "$line" "$ini" 2>/dev/null; then
|
||||
if ! grep -qFx -e "$line" -e "$line.so" "$ini" 2>/dev/null; then
|
||||
echo "$line" >> "$ini"
|
||||
fi
|
||||
done
|
||||
|
2
7.4/alpine3.13/zts/docker-php-ext-enable
generated
2
7.4/alpine3.13/zts/docker-php-ext-enable
generated
@ -111,7 +111,7 @@ for module in $modules; do
|
||||
ini="$PHP_INI_DIR/conf.d/${iniName:-"docker-php-ext-$ext.ini"}"
|
||||
;;
|
||||
esac
|
||||
if ! grep -q "$line" "$ini" 2>/dev/null; then
|
||||
if ! grep -qFx -e "$line" -e "$line.so" "$ini" 2>/dev/null; then
|
||||
echo "$line" >> "$ini"
|
||||
fi
|
||||
done
|
||||
|
2
7.4/buster/apache/docker-php-ext-enable
generated
2
7.4/buster/apache/docker-php-ext-enable
generated
@ -111,7 +111,7 @@ for module in $modules; do
|
||||
ini="$PHP_INI_DIR/conf.d/${iniName:-"docker-php-ext-$ext.ini"}"
|
||||
;;
|
||||
esac
|
||||
if ! grep -q "$line" "$ini" 2>/dev/null; then
|
||||
if ! grep -qFx -e "$line" -e "$line.so" "$ini" 2>/dev/null; then
|
||||
echo "$line" >> "$ini"
|
||||
fi
|
||||
done
|
||||
|
2
7.4/buster/cli/docker-php-ext-enable
generated
2
7.4/buster/cli/docker-php-ext-enable
generated
@ -111,7 +111,7 @@ for module in $modules; do
|
||||
ini="$PHP_INI_DIR/conf.d/${iniName:-"docker-php-ext-$ext.ini"}"
|
||||
;;
|
||||
esac
|
||||
if ! grep -q "$line" "$ini" 2>/dev/null; then
|
||||
if ! grep -qFx -e "$line" -e "$line.so" "$ini" 2>/dev/null; then
|
||||
echo "$line" >> "$ini"
|
||||
fi
|
||||
done
|
||||
|
2
7.4/buster/fpm/docker-php-ext-enable
generated
2
7.4/buster/fpm/docker-php-ext-enable
generated
@ -111,7 +111,7 @@ for module in $modules; do
|
||||
ini="$PHP_INI_DIR/conf.d/${iniName:-"docker-php-ext-$ext.ini"}"
|
||||
;;
|
||||
esac
|
||||
if ! grep -q "$line" "$ini" 2>/dev/null; then
|
||||
if ! grep -qFx -e "$line" -e "$line.so" "$ini" 2>/dev/null; then
|
||||
echo "$line" >> "$ini"
|
||||
fi
|
||||
done
|
||||
|
2
7.4/buster/zts/docker-php-ext-enable
generated
2
7.4/buster/zts/docker-php-ext-enable
generated
@ -111,7 +111,7 @@ for module in $modules; do
|
||||
ini="$PHP_INI_DIR/conf.d/${iniName:-"docker-php-ext-$ext.ini"}"
|
||||
;;
|
||||
esac
|
||||
if ! grep -q "$line" "$ini" 2>/dev/null; then
|
||||
if ! grep -qFx -e "$line" -e "$line.so" "$ini" 2>/dev/null; then
|
||||
echo "$line" >> "$ini"
|
||||
fi
|
||||
done
|
||||
|
2
8.0/alpine3.12/cli/docker-php-ext-enable
generated
2
8.0/alpine3.12/cli/docker-php-ext-enable
generated
@ -111,7 +111,7 @@ for module in $modules; do
|
||||
ini="$PHP_INI_DIR/conf.d/${iniName:-"docker-php-ext-$ext.ini"}"
|
||||
;;
|
||||
esac
|
||||
if ! grep -q "$line" "$ini" 2>/dev/null; then
|
||||
if ! grep -qFx -e "$line" -e "$line.so" "$ini" 2>/dev/null; then
|
||||
echo "$line" >> "$ini"
|
||||
fi
|
||||
done
|
||||
|
2
8.0/alpine3.12/fpm/docker-php-ext-enable
generated
2
8.0/alpine3.12/fpm/docker-php-ext-enable
generated
@ -111,7 +111,7 @@ for module in $modules; do
|
||||
ini="$PHP_INI_DIR/conf.d/${iniName:-"docker-php-ext-$ext.ini"}"
|
||||
;;
|
||||
esac
|
||||
if ! grep -q "$line" "$ini" 2>/dev/null; then
|
||||
if ! grep -qFx -e "$line" -e "$line.so" "$ini" 2>/dev/null; then
|
||||
echo "$line" >> "$ini"
|
||||
fi
|
||||
done
|
||||
|
2
8.0/alpine3.13/cli/docker-php-ext-enable
generated
2
8.0/alpine3.13/cli/docker-php-ext-enable
generated
@ -111,7 +111,7 @@ for module in $modules; do
|
||||
ini="$PHP_INI_DIR/conf.d/${iniName:-"docker-php-ext-$ext.ini"}"
|
||||
;;
|
||||
esac
|
||||
if ! grep -q "$line" "$ini" 2>/dev/null; then
|
||||
if ! grep -qFx -e "$line" -e "$line.so" "$ini" 2>/dev/null; then
|
||||
echo "$line" >> "$ini"
|
||||
fi
|
||||
done
|
||||
|
2
8.0/alpine3.13/fpm/docker-php-ext-enable
generated
2
8.0/alpine3.13/fpm/docker-php-ext-enable
generated
@ -111,7 +111,7 @@ for module in $modules; do
|
||||
ini="$PHP_INI_DIR/conf.d/${iniName:-"docker-php-ext-$ext.ini"}"
|
||||
;;
|
||||
esac
|
||||
if ! grep -q "$line" "$ini" 2>/dev/null; then
|
||||
if ! grep -qFx -e "$line" -e "$line.so" "$ini" 2>/dev/null; then
|
||||
echo "$line" >> "$ini"
|
||||
fi
|
||||
done
|
||||
|
2
8.0/buster/apache/docker-php-ext-enable
generated
2
8.0/buster/apache/docker-php-ext-enable
generated
@ -111,7 +111,7 @@ for module in $modules; do
|
||||
ini="$PHP_INI_DIR/conf.d/${iniName:-"docker-php-ext-$ext.ini"}"
|
||||
;;
|
||||
esac
|
||||
if ! grep -q "$line" "$ini" 2>/dev/null; then
|
||||
if ! grep -qFx -e "$line" -e "$line.so" "$ini" 2>/dev/null; then
|
||||
echo "$line" >> "$ini"
|
||||
fi
|
||||
done
|
||||
|
2
8.0/buster/cli/docker-php-ext-enable
generated
2
8.0/buster/cli/docker-php-ext-enable
generated
@ -111,7 +111,7 @@ for module in $modules; do
|
||||
ini="$PHP_INI_DIR/conf.d/${iniName:-"docker-php-ext-$ext.ini"}"
|
||||
;;
|
||||
esac
|
||||
if ! grep -q "$line" "$ini" 2>/dev/null; then
|
||||
if ! grep -qFx -e "$line" -e "$line.so" "$ini" 2>/dev/null; then
|
||||
echo "$line" >> "$ini"
|
||||
fi
|
||||
done
|
||||
|
2
8.0/buster/fpm/docker-php-ext-enable
generated
2
8.0/buster/fpm/docker-php-ext-enable
generated
@ -111,7 +111,7 @@ for module in $modules; do
|
||||
ini="$PHP_INI_DIR/conf.d/${iniName:-"docker-php-ext-$ext.ini"}"
|
||||
;;
|
||||
esac
|
||||
if ! grep -q "$line" "$ini" 2>/dev/null; then
|
||||
if ! grep -qFx -e "$line" -e "$line.so" "$ini" 2>/dev/null; then
|
||||
echo "$line" >> "$ini"
|
||||
fi
|
||||
done
|
||||
|
2
8.0/buster/zts/docker-php-ext-enable
generated
2
8.0/buster/zts/docker-php-ext-enable
generated
@ -111,7 +111,7 @@ for module in $modules; do
|
||||
ini="$PHP_INI_DIR/conf.d/${iniName:-"docker-php-ext-$ext.ini"}"
|
||||
;;
|
||||
esac
|
||||
if ! grep -q "$line" "$ini" 2>/dev/null; then
|
||||
if ! grep -qFx -e "$line" -e "$line.so" "$ini" 2>/dev/null; then
|
||||
echo "$line" >> "$ini"
|
||||
fi
|
||||
done
|
||||
|
@ -111,7 +111,7 @@ for module in $modules; do
|
||||
ini="$PHP_INI_DIR/conf.d/${iniName:-"docker-php-ext-$ext.ini"}"
|
||||
;;
|
||||
esac
|
||||
if ! grep -q "$line" "$ini" 2>/dev/null; then
|
||||
if ! grep -qFx -e "$line" -e "$line.so" "$ini" 2>/dev/null; then
|
||||
echo "$line" >> "$ini"
|
||||
fi
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user