From 470d7f8e2b7c7f74a247aa484145bd642967be85 Mon Sep 17 00:00:00 2001 From: Vlastimil Holer Date: Tue, 9 Jun 2020 10:47:23 +0200 Subject: [PATCH] B #83: Fix RH postinstall --- pkg/postinstall | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/postinstall b/pkg/postinstall index 952e238..fce52ae 100755 --- a/pkg/postinstall +++ b/pkg/postinstall @@ -98,8 +98,8 @@ fi if [ -d /etc/sysconfig/network-scripts ]; then # Prepare network files find /etc/sysconfig/network-scripts -type f \ - -name 'ifcfg-*' ! -name 'ifcfg-lo' \ - -o -name 'route-*' ! -name 'route-lo' \ + \( -name 'ifcfg-*' -o -name 'route-*' \) \ + ! -name 'ifcfg-lo' ! -name 'route-lo' \ -exec rm -f {} \; if [ "${NETWORK_EC2}" = 'yes' ]; then