aboutsummaryrefslogtreecommitdiffstats
path: root/rpmdrake.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-03-15 15:04:01 +0000
committerThierry Vignaud <tv@mandriva.org>2007-03-15 15:04:01 +0000
commit94783f3902b86d17abb5a367411be5af7ab18b44 (patch)
tree7fe3c987a342c7ff5aba16a1fbe2379c06b3bd5a /rpmdrake.pm
parentfca3d0cd0251d2f970cd042b1a86bf7942477bc9 (diff)
downloadrpmdrake-94783f3902b86d17abb5a367411be5af7ab18b44.tar
rpmdrake-94783f3902b86d17abb5a367411be5af7ab18b44.tar.gz
rpmdrake-94783f3902b86d17abb5a367411be5af7ab18b44.tar.bz2
rpmdrake-94783f3902b86d17abb5a367411be5af7ab18b44.tar.xz
rpmdrake-94783f3902b86d17abb5a367411be5af7ab18b44.zip
(myexit) save configuration on exit so that we "remember" we've
offered to add media on first run
Diffstat (limited to 'rpmdrake.pm')
-rw-r--r--rpmdrake.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm
index 97b8c7f4..a1ecda76 100644
--- a/rpmdrake.pm
+++ b/rpmdrake.pm
@@ -145,7 +145,10 @@ sub to_utf8 {
wantarray() ? @_ : $_[0];
}
-sub myexit { ugtk2::exit(undef, @_) }
+sub myexit {
+ writeconf();
+ ugtk2::exit(undef, @_);
+}
$ENV{HOME} ||= '/root';