1 |
voyageur 10/04/29 12:48:01 |
2 |
|
3 |
Added: x2goserver-mountdirs_no_desktop_icon.patch |
4 |
Log: |
5 |
Version bump from NX overlay, drop 2.x version |
6 |
(Portage version: 2.2_rc67/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 net-misc/x2goserver/files/x2goserver-mountdirs_no_desktop_icon.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/x2goserver/files/x2goserver-mountdirs_no_desktop_icon.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/x2goserver/files/x2goserver-mountdirs_no_desktop_icon.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: x2goserver-mountdirs_no_desktop_icon.patch |
15 |
=================================================================== |
16 |
--- usr/bin/x2gomountdirs.org 2010-01-18 22:18:16.000000000 +0100 |
17 |
+++ usr/bin/x2gomountdirs 2010-01-18 22:16:33.000000000 +0100 |
18 |
@@ -144,34 +144,34 @@ |
19 |
if(system("sshfs -o Cipher=blowfish,IdentityFile=$key,UserKnownHostsFile=$key.ident $user\@$host:\"@dirs[$i]\" \"$mntpath\" -p $port 2>>~/mounts.log")==0) |
20 |
{ |
21 |
print "mount @dirs[$i] ok\n"; |
22 |
- if(! $printspool) |
23 |
- { |
24 |
- my $fname="$ENV{'HOME'}/Desktop"; |
25 |
- my $p=@dirs[$i]; |
26 |
- $p=~s/\/cygdrive\///g; |
27 |
- $p=~s/\//_/g; |
28 |
- $fname="$fname/$p"; |
29 |
- if($type eq "dir") |
30 |
- { |
31 |
- $fname="$fname(sshfs-disk)"; |
32 |
- } |
33 |
- else |
34 |
- { |
35 |
- if($fname =~ m/CDROM/) |
36 |
- { |
37 |
- $fname="$fname(sshfs-cdrom)"; |
38 |
- } |
39 |
- else |
40 |
- { |
41 |
- $fname="$fname(sshfs-removable)"; |
42 |
- } |
43 |
- $fname=~s/_ramdrive_mnt_//; |
44 |
- } |
45 |
- print "fname: $fname\n"; |
46 |
- open(F,">$fname"); |
47 |
- print F "$mntpath\n$session\n\n\0"; |
48 |
- close(F); |
49 |
- } |
50 |
+# if(! $printspool) |
51 |
+# { |
52 |
+# my $fname="$ENV{'HOME'}/Desktop"; |
53 |
+# my $p=@dirs[$i]; |
54 |
+# $p=~s/\/cygdrive\///g; |
55 |
+# $p=~s/\//_/g; |
56 |
+# $fname="$fname/$p"; |
57 |
+# if($type eq "dir") |
58 |
+# { |
59 |
+# $fname="$fname(sshfs-disk)"; |
60 |
+# } |
61 |
+# else |
62 |
+# { |
63 |
+# if($fname =~ m/CDROM/) |
64 |
+# { |
65 |
+# $fname="$fname(sshfs-cdrom)"; |
66 |
+# } |
67 |
+# else |
68 |
+# { |
69 |
+# $fname="$fname(sshfs-removable)"; |
70 |
+# } |
71 |
+# $fname=~s/_ramdrive_mnt_//; |
72 |
+# } |
73 |
+# print "fname: $fname\n"; |
74 |
+# open(F,">$fname"); |
75 |
+# print F "$mntpath\n$session\n\n\0"; |
76 |
+# close(F); |
77 |
+# } |
78 |
} |
79 |
else |
80 |
{ |