Skip to content

Commit

Permalink
fix(rhel): drop the last digit on rhel naming (#621)
Browse files Browse the repository at this point in the history
  • Loading branch information
hutchic authored Dec 2, 2022
1 parent e9fe50d commit bce85c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fpm-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ if [ "$PACKAGE_TYPE" == "deb" ]; then
OUTPUT_FILE_SUFFIX=".${RESTY_IMAGE_TAG}"
elif [ "$PACKAGE_TYPE" == "rpm" ]; then
FPM_PARAMS="-d pcre -d perl -d perl-Time-HiRes -d zlib -d zlib-devel"
OUTPUT_FILE_SUFFIX=".rhel${RESTY_IMAGE_TAG}"
OUTPUT_FILE_SUFFIX=".rhel${RESTY_IMAGE_TAG%%.*}"
if [ "$RESTY_IMAGE_TAG" == "7" ]; then
FPM_PARAMS="$FPM_PARAMS -d hostname"
fi
Expand Down

0 comments on commit bce85c3

Please sign in to comment.