mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Also use uglifyjs on CentOS Stream 8
This conditional was recently changed to match VERSION_ID "8." to only apply to RHEL 8 releases, but it should also match CentOS Stream 8 which has VERSION_ID "8". https://pagure.io/freeipa/c/43f344b931db3f72f50e1620443be9f21623e29a Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
parent
e86ff48b49
commit
2c83b1e713
@ -112,7 +112,7 @@ fi
|
||||
echo "Minimizing: $RDIR/$RELEASE/$LAYER.js"
|
||||
echo "Target file: $OUTPUT_FILE"
|
||||
if [[ ("$ID" == "rhel" || "$ID_LIKE" =~ "rhel")
|
||||
&& "$VERSION_ID" =~ "8." ]];
|
||||
&& ("$VERSION_ID" =~ "8." || "$VERSION_ID" == "8") ]];
|
||||
then
|
||||
echo "Minifier: uglifyjs"
|
||||
uglifyjs < $RDIR/$RELEASE/$LAYER.js > $OUTPUT_FILE
|
||||
|
Loading…
Reference in New Issue
Block a user