Skip to content

Commit 7fb4438

Browse files
Merge pull request #48 from fledge-iot/FOGL_6348_packaging_changes
Fledge-Pkg changes for postgres13 upgrade(FOGL-6348)
2 parents 878bf84 + a1874cd commit 7fb4438

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

make_rpm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ repo_name="fledge" # Name of the Git repository
2626
branch="main" # Default Git branch to use
2727
pkg_name="fledge" # Name of the package to build
2828
architecture="x86_64" # The architecture for which the rpm should be created
29-
rhpg_pkg="rh-postgresql96" # Name of the Red Hat package for postgres
29+
rhpg_pkg="rh-postgresql13" # Name of the Red Hat package for postgres
3030
rhgcc_pkg="devtoolset-7" # Name of the Red Hat package for the newer g++
3131
skip_build=0 # 1=skip Git repo extraction and Fledge build
3232

@@ -124,15 +124,15 @@ if [[ $skip_build == 0 ]]; then
124124

125125
# Enables/verifies the environment for the build
126126
source scl_source enable ${rhpg_pkg}
127-
status_rh_postgresql96=$?
127+
status_rh_postgresql=$?
128128

129129
source scl_source enable ${rhgcc_pkg}
130130
status_devtoolset=$?
131131

132132
command -v pg_isready > /dev/null
133133
status_pg_isready=$?
134134

135-
if [[ $status_rh_postgresql96 != 0 ]]; then
135+
if [[ $status_rh_postgresql != 0 ]]; then
136136
echo "ERROR : it is not possible to enable the ${rhpg_pkg} environment"
137137
exit 1
138138
fi

0 commit comments

Comments
 (0)