summaryrefslogtreecommitdiffstats
path: root/move/move.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-11-28 11:29:56 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-11-28 11:29:56 +0000
commit0c6871912b64dfb4ef583edf59be1302a151409a (patch)
treeacb95d1ed0386dfa4088fec39d98f82d5f0e1229 /move/move.pm
parent0e003609416efd9e359a254c31d59d0da5f4c86a (diff)
downloaddrakx-backup-do-not-use-0c6871912b64dfb4ef583edf59be1302a151409a.tar
drakx-backup-do-not-use-0c6871912b64dfb4ef583edf59be1302a151409a.tar.gz
drakx-backup-do-not-use-0c6871912b64dfb4ef583edf59be1302a151409a.tar.bz2
drakx-backup-do-not-use-0c6871912b64dfb4ef583edf59be1302a151409a.tar.xz
drakx-backup-do-not-use-0c6871912b64dfb4ef583edf59be1302a151409a.zip
cp_af() is no good when file is a link.
we need a simple cp() ...
Diffstat (limited to 'move/move.pm')
-rw-r--r--move/move.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/move/move.pm b/move/move.pm
index 117586f67..3e6c2d00e 100644
--- a/move/move.pm
+++ b/move/move.pm
@@ -430,7 +430,7 @@ sub install2::configMove {
my $user = $o->{users}[0]{name};
my $confdir = "/home/$user/.kde/share/config";
mkdir_p($confdir);
- cp_af("/usr/share/config/kdeglobals", $confdir);
+ output("$confdir/kdeglobals", cat_("/usr/share/config/kdeglobals"));
lang::configure_kdeglobals($o->{locale}, $confdir);
run_program::run('chown', '-R', "$user.$user", "/home/$user/.kde");