summaryrefslogtreecommitdiff
path: root/Utils
diff options
context:
space:
mode:
authorcarlosg <carlosg>2006-11-26 12:38:16 +0000
committercarlosg <carlosg>2006-11-26 12:38:16 +0000
commit4826c40bcb59426ca189d3e9d894a3bd3d5f2702 (patch)
tree1248c6c44a43b28f207087240dfa2beef888fec2 /Utils
parent1ec81c0b1d557fb7ce78583d116f3f0a90efdcd4 (diff)
2006-11-26 Carlos Garnacho <carlosg@gnome.org>
* Utils/File.pm (get_base_path): use localstatedir.
Diffstat (limited to 'Utils')
-rw-r--r--Utils/File.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/Utils/File.pm b/Utils/File.pm
index 702b501..0ad887d 100644
--- a/Utils/File.pm
+++ b/Utils/File.pm
@@ -30,7 +30,6 @@ use File::Copy;
use File::Temp;
use Carp;
-
$FILE_READ = 1;
$FILE_WRITE = 2;
@@ -39,7 +38,7 @@ $FILE_WRITE = 2;
sub get_base_path
{
- my $path = "/var/cache/system-tools-backends";
+ my $path = "/$main::localstatedir/cache/system-tools-backends";
chmod (0755, $path);
return $path;
}