diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-03-15 15:04:01 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-03-15 15:04:01 +0000 |
commit | 94783f3902b86d17abb5a367411be5af7ab18b44 (patch) | |
tree | 7fe3c987a342c7ff5aba16a1fbe2379c06b3bd5a /rpmdrake.pm | |
parent | fca3d0cd0251d2f970cd042b1a86bf7942477bc9 (diff) | |
download | rpmdrake-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.pm | 5 |
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'; |