[yast-commit] r64682 - in /branches/SuSE-Code-11-SP1-Branch/registration: VERSION package/yast2-registration.changes yast2-registration.spec.in
Author: jdsn Date: Thu Jun 30 21:29:00 2011 New Revision: 64682 URL: http://svn.opensuse.org/viewcvs/yast?rev=64682&view=rev Log: fix broken xauth export file in post install script (bnc#702423) 2.17.35.2 Modified: branches/SuSE-Code-11-SP1-Branch/registration/VERSION branches/SuSE-Code-11-SP1-Branch/registration/package/yast2-registration.changes branches/SuSE-Code-11-SP1-Branch/registration/yast2-registration.spec.in Modified: branches/SuSE-Code-11-SP1-Branch/registration/VERSION URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/registration/VERSION?rev=64682&r1=64681&r2=64682&view=diff ============================================================================== --- branches/SuSE-Code-11-SP1-Branch/registration/VERSION (original) +++ branches/SuSE-Code-11-SP1-Branch/registration/VERSION Thu Jun 30 21:29:00 2011 @@ -1 +1 @@ -2.17.35.1 +2.17.35.2 Modified: branches/SuSE-Code-11-SP1-Branch/registration/package/yast2-registration.changes URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/registration/package/yast2-registration.changes?rev=64682&r1=64681&r2=64682&view=diff ============================================================================== --- branches/SuSE-Code-11-SP1-Branch/registration/package/yast2-registration.changes (original) +++ branches/SuSE-Code-11-SP1-Branch/registration/package/yast2-registration.changes Thu Jun 30 21:29:00 2011 @@ -1,7 +1,9 @@ ------------------------------------------------------------------- -Thu Jun 30 20:35:56 CEST 2011 - jdsn@suse.de +Thu Jun 30 21:21:56 CEST 2011 - jdsn@suse.de - cleanup xauth export after interactive registration (bnc#702638) +- fix broken xauth export file in post install script (bnc#702423) +- 2.17.35.2 ------------------------------------------------------------------- Fri Apr 8 16:22:22 CEST 2011 - jdsn@suse.de Modified: branches/SuSE-Code-11-SP1-Branch/registration/yast2-registration.spec.in URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/registration/yast2-registration.spec.in?rev=64682&r1=64681&r2=64682&view=diff ============================================================================== --- branches/SuSE-Code-11-SP1-Branch/registration/yast2-registration.spec.in (original) +++ branches/SuSE-Code-11-SP1-Branch/registration/yast2-registration.spec.in Thu Jun 30 21:29:00 2011 @@ -25,6 +25,7 @@ Requires: perl-TimeDate limal limal-perl limal-ca-mgm-perl Requires: yast2-pkg-bindings >= 2.17.20 Requires: yast2-registration-branding +Requires(post): sed grep ## do never require "mozilla-xulrunner190" (bnc#436900) PreReq: %fillup_prereq @@ -82,6 +83,13 @@ %post %{fillup_only -ns suse_register yast2-registration} %{fillup_only -ns automatic_online_update yast2-registration} +# fix broken xauth export from previous registration (bnc#702638) +export XAEXPORT=/root/.xauth/export +if [ -e "$XAEXPORT" ] && grep -q -v "^\s*$" "$XAEXPORT" +then + sed -i --follow-symlinks "/^suse-ncc$/d" "$XAEXPORT" + grep -q -v "^\s*$" "$XAEXPORT" || rm -f "$XAEXPORT" +fi %files -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
jdsn@svn2.opensuse.org