SHA256
3
0
forked from pool/aaa_base

- switch SEND_OUTPUT_ON_NO_ERROR from yes to no in postinstall

and only do that exactly once to switch the default (bnc#622203)

OBS-URL: https://build.opensuse.org/package/show/Base:System/aaa_base?expand=0&rev=137
This commit is contained in:
Ruediger Oertel 2010-08-27 13:06:11 +00:00 committed by Git OBS Bridge
parent af9a7468fa
commit d4eea0e838
2 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Aug 27 15:05:22 CEST 2010 - ro@suse.de
- switch SEND_OUTPUT_ON_NO_ERROR from yes to no in postinstall
and only do that exactly once to switch the default (bnc#622203)
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Aug 26 12:19:53 CEST 2010 - ro@suse.de Thu Aug 26 12:19:53 CEST 2010 - ro@suse.de

View File

@ -65,6 +65,12 @@ if grep -q RCCONFIG_BACKUP_DIR../var/adm/backup/rpmdb etc/sysconfig/backup; then
mv /var/adm/backup/rpmdb/sysconfig[-_]* /var/adm/backup/sysconfig 2>/dev/null mv /var/adm/backup/rpmdb/sysconfig[-_]* /var/adm/backup/sysconfig 2>/dev/null
fi fi
if grep -q "SEND_OUTPUT_ON_NO_ERROR=\"yes\"" etc/sysconfig/cron -a ! -f var/adm/bnc_622203_fixed ; then
sed -e "s|^SEND_OUTPUT_ON_NO_ERROR=\"yes\"|SEND_OUTPUT_ON_NO_ERROR=\"no\"|" \
etc/sysconfig/cron > etc/sysconfig/cron.new \
&& mv etc/sysconfig/cron.new etc/sysconfig/cron
touch var/adm/bnc_622203_fixed
fi
# clear old install settings of MODULES_LOADED_ON_BOOT # clear old install settings of MODULES_LOADED_ON_BOOT
eval `grep "^MODULES_LOADED_ON_BOOT" etc/sysconfig/kernel` eval `grep "^MODULES_LOADED_ON_BOOT" etc/sysconfig/kernel`