File git-11-7c70cd44f911d150de785daf2960cfff660fdd62.patch of Package aaa_base.openSUSE_Leap_42.2_Update

commit 7c70cd44f911d150de785daf2960cfff660fdd62
Author: Ruediger Oertel <ro@suse.de>
Date:   Tue Oct 27 16:40:14 2015 +0100

    sysconf_addword: do not insert spaces at start of string (bnc#932456)

diff --git a/files/usr/sbin/sysconf_addword b/files/usr/sbin/sysconf_addword
index bdfcc3f..9b03230 100755
--- a/files/usr/sbin/sysconf_addword
+++ b/files/usr/sbin/sysconf_addword
@@ -54,7 +54,7 @@ add_word() {
 		$debug && cp $file $tmpf
 		sed -i -e "${lineno} { 
 			s/^[[:space:]]*\($var=\".*\)\(\".*\)/\1 $word_quoted\2/; 
-			s/=\" /=\"/ 
+			s/=\"  */=\"/ 
 			}" $file
 		$debug && diff -u $tmpf $file
 	else
openSUSE Build Service is sponsored by