summaryrefslogtreecommitdiffstats
path: root/perl-install/install_any.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2000-05-03 13:24:32 +0000
committerFrancois Pons <fpons@mandriva.com>2000-05-03 13:24:32 +0000
commit8f5d72a12b4488f3007c73537d5212b6b67cadce (patch)
treebd76dac0f42c1d3e08c55d03b777741868a72fba /perl-install/install_any.pm
parent0f91e019e84e1cc55b224ebb4b81eccaf63eecbe (diff)
downloaddrakx-backup-do-not-use-8f5d72a12b4488f3007c73537d5212b6b67cadce.tar
drakx-backup-do-not-use-8f5d72a12b4488f3007c73537d5212b6b67cadce.tar.gz
drakx-backup-do-not-use-8f5d72a12b4488f3007c73537d5212b6b67cadce.tar.bz2
drakx-backup-do-not-use-8f5d72a12b4488f3007c73537d5212b6b67cadce.tar.xz
drakx-backup-do-not-use-8f5d72a12b4488f3007c73537d5212b6b67cadce.zip
*** empty log message ***
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r--perl-install/install_any.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index 2ef837916..a43a33be2 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -754,6 +754,11 @@ sub kdeicons_postinstall($) {
template2userfile($prefix, "$ENV{SHARE_PATH}/Dos_.kdelnk.in", "Desktop/Dos_$1.kdelnk", 1, %toreplace);
symlink "hd_umount.xpm", "$prefix/usr/share/icons/hd_unmount.xpm";
symlink "hd_umount.xpm", "$prefix/usr/share/icons/large/hd_unmount.xpm";
+ } elsif (m|^/dev/(\S+)\s+/mnt/([^\/]*)\s+vfat\s+|) {
+ my %toreplace = ( device => $1, id => $1, mntpoint => "/mnt/$2" );
+ template2userfile($prefix, "$ENV{SHARE_PATH}/Dos_.kdelnk.in", "Desktop/$2.kdelnk", 1, %toreplace);
+ symlink "hd_umount.xpm", "$prefix/usr/share/icons/hd_unmount.xpm";
+ symlink "hd_umount.xpm", "$prefix/usr/share/icons/large/hd_unmount.xpm";
} elsif (m|^/dev/(\S+)\s+(\S*)\s+vfat\s+|) {
my %toreplace = ( device => $1, id => $1, mntpoint => $2 );
template2userfile($prefix, "$ENV{SHARE_PATH}/Dos_.kdelnk.in", "Desktop/Dos_$1.kdelnk", 1, %toreplace);