From 0c6871912b64dfb4ef583edf59be1302a151409a Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Fri, 28 Nov 2003 11:29:56 +0000 Subject: cp_af() is no good when file is a link. we need a simple cp() ... --- move/move.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'move') 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"); -- cgit v1.2.1