From 871dc655922a5acd7424b2a49564d45de5561b6b Mon Sep 17 00:00:00 2001 From: tv Date: Fri, 9 May 2008 15:02:17 +0000 Subject: default to /media instead of /home (gtk+ default) if not configured, where the discs will be mounted by HAL (#39802) git-svn-id: http://svn.mandriva.com/svn/soft/draksnapshot/trunk@242425 99302b65-d5f7-0310-b3dd-f8cd6f4e3d94 --- NEWS | 2 ++ draksnapshot-config | 3 +++ 2 files changed, 5 insertions(+) diff --git a/NEWS b/NEWS index 269dc99..5e52d3d 100644 --- a/NEWS +++ b/NEWS @@ -4,6 +4,8 @@ - configurator: o exclude snapshot point from being backuped (thus preventing to recursively backup the backup directory) (#39801) + o default to /media instead of /home if not configured, where the + discs will be mounted by HAL (#39802) Version 0.9 - 3 April 2008, Thierry Vignaud diff --git a/draksnapshot-config b/draksnapshot-config index 72aab47..594c85e 100755 --- a/draksnapshot-config +++ b/draksnapshot-config @@ -101,6 +101,9 @@ my %interval_titles = ( my (%entries, $where); +# if not configured, just default where will be mounted the discs by HAL: +$backup_directory ||= '/media/'; + my $box; gtkadd($my_win->{window}, gtknew('VBox', children => [ -- cgit v1.2.1