From eebd7c01551a85279bc2cb01a10481c856acf87f6bf8d7fcc6dc7ab68434d686 Mon Sep 17 00:00:00 2001 From: Ruediger Oertel Date: Fri, 27 Aug 2010 13:16:58 +0000 Subject: [PATCH] typo OBS-URL: https://build.opensuse.org/package/show/Base:System/aaa_base?expand=0&rev=138 --- aaa_base.post | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/aaa_base.post b/aaa_base.post index 3285543..75f2732 100644 --- a/aaa_base.post +++ b/aaa_base.post @@ -65,11 +65,13 @@ 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 fi -if grep -q "SEND_OUTPUT_ON_NO_ERROR=\"yes\"" etc/sysconfig/cron -a ! -f var/adm/bnc_622203_fixed ; then +if grep -q "SEND_OUTPUT_ON_NO_ERROR=\"yes\"" etc/sysconfig/cron ; then + if test ! -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 fi # clear old install settings of MODULES_LOADED_ON_BOOT