diff --git a/CHANGELOG.md b/CHANGELOG.md index 669aa20..06553f6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -## 4.x +## 4.6 * New input variable `_SEVERITY` for the `check.sh` script [(issue #30)](https://github.com/Trivadis/pgoperate/issues/30) * Bug fix related to the installer that custom_check.lib is not overwritten anymore [(issue #29)](https://github.com/Trivadis/pgoperate/issues/29) diff --git a/bin/VERSION b/bin/VERSION index 4caecc7..b3d791d 100644 --- a/bin/VERSION +++ b/bin/VERSION @@ -1 +1 @@ -4.5 +4.6 diff --git a/bin/install_pgoperate.sh b/bin/install_pgoperate.sh index 573d780..932abb4 100755 --- a/bin/install_pgoperate.sh +++ b/bin/install_pgoperate.sh @@ -15,7 +15,7 @@ # limitations under the License. # # Author: Aychin Gasimov (AYG) -# Desc: Script to install pgBasEnv from scratch or upgrade existing version. +# Desc: Script to install pgOperate from scratch or upgrade existing version. # Check README.md for details. # # Change log: @@ -72,7 +72,9 @@ mkdir -p $TVDBASE/pgoperate [[ $? -gt 0 ]] && echo "ERROR: Cannot continue! Check the path specified." && exit 1 || echo "SUCCESS" echo -e "\n>>> INSTALLATION STEP: Extracting files into $TVDBASE/pgoperate.\n" -tar -xvf $TARFILE -C $TVDBASE +# Do not overwrite the custom_check.lib in case of an existing installation (upgrade case) +test -f $PGOPERATE_BASE/lib/custom_check.lib && export EXCLUDELIB="--exclude=pgoperate/lib/custom_check.lib" +tar -xvf $TARFILE -C $TVDBASE $EXCLUDELIB [[ $? -gt 0 ]] && echo "ERROR: Cannot continue! Check the output and fix issue." && exit 1 || echo "SUCCESS" echo -e "\n>>> INSTALLATION STEP: Add aliases to \$PGBASENV_BASE/etc/pgbasenv_standard.conf.\n" diff --git a/bundle/pgoperate-4.5.tar b/bundle/pgoperate-4.6.tar similarity index 93% rename from bundle/pgoperate-4.5.tar rename to bundle/pgoperate-4.6.tar index 4e2ce71..c5170c9 100644 Binary files a/bundle/pgoperate-4.5.tar and b/bundle/pgoperate-4.6.tar differ