Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit c9d60c2

Browse files
authored
Merge pull request #28227 from ayakael/alpine/fix-non-portable-distrorid
[release/3.1] Fix non-portable distrorid alpine generation
2 parents 460ddee + e14e6d1 commit c9d60c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

init-distro-rid.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ initNonPortableDistroRid()
5151
# We have forced __PortableBuild=0. This is because -portablebuld
5252
# has been passed as false.
5353
if (( ${isPortable} == 0 )); then
54-
if [ "${ID}" == "rhel" ]; then
54+
if [ "${ID}" == "rhel" ] || [ "${ID}" = "alpine" ]; then
5555
# remove the last version digit
5656
VERSION_ID=${VERSION_ID%.*}
5757
fi

0 commit comments

Comments
 (0)