From b5fafe85aa7fd861d5ab29a9d9a8f5caf3d04a83 Mon Sep 17 00:00:00 2001 From: Santiago Rodríguez Date: Tue, 15 Jan 2013 17:36:45 +0000 Subject: Don't create a new .xsession file If there is a .xsession file, we append our changes --- diff --git a/modules/x11/kspost.90.tweaks.inc b/modules/x11/kspost.90.tweaks.inc index 19a86fa..dd37c69 100644 --- a/modules/x11/kspost.90.tweaks.inc +++ b/modules/x11/kspost.90.tweaks.inc @@ -65,10 +65,13 @@ def main(): main() EOF + chmod 755 /usr/bin/yumfix # run the above from ~/.xsession -echo "/usr/bin/yumfix" > /home/olpc/.xsession +# We add it to the current .xsession +# Fixes sdxo#2387 +echo "/usr/bin/yumfix" >> /home/olpc/.xsession echo "include=/tmp/yum.conf.mod" >> /etc/yum.conf -- cgit v0.9.1