Accepting request 800061 from home:dimstar:Factory
- Update rpmconfigcheck: Remove bashism and use /bin/sh instead of /bin/bash. OBS-URL: https://build.opensuse.org/request/show/800061 OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm?expand=0&rev=543
This commit is contained in:
parent
463391a814
commit
58c6ef4046
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon May 4 13:11:34 UTC 2020 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
- Update rpmconfigcheck: Remove bashism and use /bin/sh instead of
|
||||||
|
/bin/bash.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Apr 14 11:50:49 CEST 2020 - mls@suse.de
|
Tue Apr 14 11:50:49 CEST 2020 - mls@suse.de
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#! /bin/bash
|
#! /bin/sh
|
||||||
# Copyright (c) 2002 SUSE GmbH Nuernberg, Germany.
|
# Copyright (c) 2002 SUSE GmbH Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# Author: Michael Schroeder <feedback@suse.de>
|
# Author: Michael Schroeder <feedback@suse.de>
|
||||||
@ -15,7 +15,7 @@ if test -s $packages -a \( ! -e $configcheckfile -o -s $configcheckfile -o ! $pa
|
|||||||
test -e $configcheckfile && mv -f $configcheckfile $configcheckfile.old
|
test -e $configcheckfile && mv -f $configcheckfile $configcheckfile.old
|
||||||
rpm -qalc | sort | while read line; do
|
rpm -qalc | sort | while read line; do
|
||||||
for suffix in new orig save; 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
|
||||||
done > $configcheckfile
|
done > $configcheckfile
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user