diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2003-11-27 12:27:04 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2003-11-27 12:27:04 +0000 |
commit | 9470b4477a6745cd40256a13a66e82a96eea9cdd (patch) | |
tree | 66965aec820a8e5f3418bd9af1801306dd33a1a6 /move/move.pm | |
parent | c8222044ee8e186be9cd76e4403a7894f0091fb8 (diff) | |
download | drakx-9470b4477a6745cd40256a13a66e82a96eea9cdd.tar drakx-9470b4477a6745cd40256a13a66e82a96eea9cdd.tar.gz drakx-9470b4477a6745cd40256a13a66e82a96eea9cdd.tar.bz2 drakx-9470b4477a6745cd40256a13a66e82a96eea9cdd.tar.xz drakx-9470b4477a6745cd40256a13a66e82a96eea9cdd.zip |
better have a good global /usr/share/services/ksycoca by linking it to the key,
rather than configuring it in every users .kde/share/services/ksycoca
Diffstat (limited to 'move/move.pm')
-rw-r--r-- | move/move.pm | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/move/move.pm b/move/move.pm index 5b6486faa..abdf35575 100644 --- a/move/move.pm +++ b/move/move.pm @@ -408,14 +408,13 @@ sub install2::configMove { mouse::write_conf($o, $o->{mouse}, 1); #- write xfree mouse conf detect_devices::install_addons(''); + symlinkf("/usr/share/services/ksycoca-$o->{locale}{lang}", '/etc/X11/ksycoca'); + { my $user = $o->{users}[0]{name}; cp_af("/usr/share/config/kdeglobals", $confdir); lang::configure_kdeglobals($o->{locale}, "/home/$user/.kde/share/config"); - mkdir_p("/home/$user/.kde/share/services"); - cp_af("/usr/share/services/ksycoca-$o->{locale}{lang}", "/home/$user/.kde/share/services/ksycoca"); - run_program::run('chown', '-R', "$user.$user", "/home/$user/.kde"); } |