summaryrefslogtreecommitdiffstats
path: root/move/tools/fix-fc-cache.pl
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-05-17 09:22:04 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-05-17 09:22:04 +0000
commit5d088e7840ad114b7bd667503870a3b509e98760 (patch)
treedb293da52ba0807fe42f42bc01769c0f17274f30 /move/tools/fix-fc-cache.pl
parent72ddad22fbb40242bac7284ffebba137b92a707b (diff)
downloaddrakx-5d088e7840ad114b7bd667503870a3b509e98760.tar
drakx-5d088e7840ad114b7bd667503870a3b509e98760.tar.gz
drakx-5d088e7840ad114b7bd667503870a3b509e98760.tar.bz2
drakx-5d088e7840ad114b7bd667503870a3b509e98760.tar.xz
drakx-5d088e7840ad114b7bd667503870a3b509e98760.zip
don't default to /tmp/live_tree
Diffstat (limited to 'move/tools/fix-fc-cache.pl')
-rwxr-xr-xmove/tools/fix-fc-cache.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/move/tools/fix-fc-cache.pl b/move/tools/fix-fc-cache.pl
index e0eb19fa0..720c94141 100755
--- a/move/tools/fix-fc-cache.pl
+++ b/move/tools/fix-fc-cache.pl
@@ -4,7 +4,7 @@
use MDK::Common;
-my $prefix = $ARGV[0] || '/tmp/live_tree';
+my ($prefix) = @ARGV or die "usage: $0 <prefix>\n";
my @conf = cat_("$prefix/etc/fonts/fonts.conf");