Install snuffleupagus 0.8.0 instead of 0.7.1 by default (#574)

pull/575/head 1.5.15
Michele Locati 2022-05-16 11:32:26 +02:00 committed by GitHub
parent 35f6ba8f97
commit b30e3874bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -2927,7 +2927,7 @@ installRemoteModule() {
snuffleupagus) snuffleupagus)
if test -z "$installRemoteModule_path"; then if test -z "$installRemoteModule_path"; then
if test -z "$installRemoteModule_version"; then if test -z "$installRemoteModule_version"; then
installRemoteModule_version=0.7.1 installRemoteModule_version=0.8.0
fi fi
installRemoteModule_src="$(getPackageSource https://codeload.github.com/jvoisin/snuffleupagus/tar.gz/v$installRemoteModule_version)" installRemoteModule_src="$(getPackageSource https://codeload.github.com/jvoisin/snuffleupagus/tar.gz/v$installRemoteModule_version)"
cd "$installRemoteModule_src/src" cd "$installRemoteModule_src/src"
@ -2936,6 +2936,9 @@ installRemoteModule() {
make -j$(getProcessorCount) install make -j$(getProcessorCount) install
cd - >/dev/null cd - >/dev/null
cp -a "$installRemoteModule_src/config/default.rules" "$PHP_INI_DIR/conf.d/snuffleupagus.rules" cp -a "$installRemoteModule_src/config/default.rules" "$PHP_INI_DIR/conf.d/snuffleupagus.rules"
if test $(compareVersions "$installRemoteModule_version" 0.8.0) -ge 0; then
printf '\n# Disable "PHP version is not officially maintained anymore" message\nsp.global.show_old_php_warning.disable();\n' >>"$PHP_INI_DIR/conf.d/snuffleupagus.rules"
fi
else else
if test -f "$installRemoteModule_path/config/default.rules"; then if test -f "$installRemoteModule_path/config/default.rules"; then
cp -a "$installRemoteModule_path/config/default.rules" "$PHP_INI_DIR/conf.d/snuffleupagus.rules" cp -a "$installRemoteModule_path/config/default.rules" "$PHP_INI_DIR/conf.d/snuffleupagus.rules"