diff --git a/rpm.changes b/rpm.changes index 521e1f8..25ed389 100644 --- a/rpm.changes +++ b/rpm.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon May 4 13:11:34 UTC 2020 - Dominique Leuenberger + +- Update rpmconfigcheck: Remove bashism and use /bin/sh instead of + /bin/bash. + ------------------------------------------------------------------- Tue Apr 14 11:50:49 CEST 2020 - mls@suse.de diff --git a/rpmconfigcheck b/rpmconfigcheck index 4863961..31f076f 100644 --- a/rpmconfigcheck +++ b/rpmconfigcheck @@ -1,4 +1,4 @@ -#! /bin/bash +#! /bin/sh # Copyright (c) 2002 SUSE GmbH Nuernberg, Germany. # # Author: Michael Schroeder @@ -15,7 +15,7 @@ if test -s $packages -a \( ! -e $configcheckfile -o -s $configcheckfile -o ! $pa test -e $configcheckfile && mv -f $configcheckfile $configcheckfile.old rpm -qalc | sort | while read line; do for suffix in new orig save; do - [[ -e "${line}.rpm${suffix}" ]] && echo "${line}.rpm${suffix}" + [ -e "${line}.rpm${suffix}" ] && echo "${line}.rpm${suffix}" done done > $configcheckfile else