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" ;
+# }
}
|