summaryrefslogtreecommitdiff
path: root/x11-misc/zim/files/zim-0.25-disable-update-databases.patch
blob: 7866ab362fb34b4bc59a3f8c033df209441f3ad4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
--- Build.PL.old	2008-06-12 22:52:35.319329618 +0200
+++ Build.PL	2008-06-12 22:53:40.595080260 +0200
@@ -187,19 +187,19 @@
 sub ACTION_postinstall {
 	my $self = shift;
 	my $sharedir = $self->install_destination('share');
-	my $mimedir = File::Spec->catdir($sharedir, 'mime');
-	my $icon = File::Spec->catfile($sharedir, 'pixmaps', 'zim.png');
-	for (
-		['update-desktop-database'],
-		['update-mime-database', $mimedir],
-	#	[qw{xdg-icon-resource install --context apps --size 64},
-	#		$icon],
-		[qw{xdg-icon-resource install --context mimetypes --size 64},
-			$icon, q{text-x-zim-notebook}],
-	) {
-		print "Trying: @$_\n";
-		print system(@$_) == 0 ? "Ok\n\n" : "Failed\n\n" ;
-	}
+#	my $mimedir = File::Spec->catdir($sharedir, 'mime');
+#	my $icon = File::Spec->catfile($sharedir, 'pixmaps', 'zim.png');
+#	for (
+#		['update-desktop-database'],
+#		['update-mime-database', $mimedir],
+#	#	[qw{xdg-icon-resource install --context apps --size 64},
+#	#		$icon],
+#		[qw{xdg-icon-resource install --context mimetypes --size 64},
+#			$icon, q{text-x-zim-notebook}],
+#	) {
+#		print "Trying: @$_\n";
+#		print system(@$_) == 0 ? "Ok\n\n" : "Failed\n\n" ;
+#	}
 
 }