forked from pool/util-linux
Accepting request 1085798 from home:ateixeira:branches:Base:System
- Suppress error messages for grep command where the input file might not exist (boo#1169835) OBS-URL: https://build.opensuse.org/request/show/1085798 OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=511
This commit is contained in:
parent
4b94d5ddf0
commit
bbaf74ce95
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue May 9 19:46:41 UTC 2023 - Antonio Teixeira <antonio.teixeira@suse.com>
|
||||
|
||||
- Suppress error messages for grep command where the input file
|
||||
might not exist (boo#1169835)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 9 16:31:55 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
|
||||
|
||||
|
@ -754,7 +754,7 @@ done
|
||||
# Perform one-time config replace.
|
||||
# Applies for: Update from SLE11, online update for SLE15 SP1, Leap15.1.
|
||||
# Not needed for /etc/default/runuser. It was first packaged after the change.
|
||||
if ! grep -q "^# /etc/default/su is an override" %{_sysconfdir}/default/su ; then
|
||||
if ! grep -qs "^# /etc/default/su is an override" %{_sysconfdir}/default/su ; then
|
||||
if test -f %{_sysconfdir}/default/su.rpmnew ; then
|
||||
if ! test -f %{_sysconfdir}/default/su.rpmorig ; then
|
||||
cp -a %{_sysconfdir}/default/su %{_sysconfdir}/default/su.rpmorig
|
||||
|
Loading…
Reference in New Issue
Block a user