2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-22 01:22:00 +00:00

Fix the sed syntax for LEAP import

This commit is contained in:
Jarrod Johnson 2021-07-01 14:07:43 -04:00
parent e565a1752f
commit 08cf1bbf48

View File

@ -19,5 +19,5 @@ profile=$(basename $2)
if [[ $profile =~ ^sle.* ]]; then
sed -i 's/%%IFSLE%%//;s/%%ENDIFSLE%%//' $2/autoyast
else
sed -i '/%%IFSLE%%/<!--/,/%%ENDIFSLE%%/d' $2/autoyast
sed -i '/%%IFSLE%%/,/%%ENDIFSLE%%/d' $2/autoyast
fi