Skip to content

Commit

Permalink
use PLATFORM environmen variable for sed line switch
Browse files Browse the repository at this point in the history
  • Loading branch information
pkubatrh committed Oct 20, 2022
1 parent 22d2f3b commit 8de05e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 2.4-micro/root/usr/share/container-scripts/httpd/common.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Set of functions used in other scripts

if head "/etc/redhat-release" | grep -q "^Red Hat Enterprise Linux release 8"; then
if [ "x$PLATFORM" == "xel8" ]; then
HTTPCONF_LINENO=154
elif [ "x$PLATFORM" == "xel9" ]; then
HTTPCONF_LINENO=156
Expand Down

0 comments on commit 8de05e5

Please sign in to comment.