1
1
#! /bin/sh /usr/share/dpatch/dpatch-run
2
2
## 10_update_mime_database.dpatch by Florian Ragwitz <rafl@debian.org>
4
## All lines beginning with `## DP:' are a description of the patch.
5
3
## DP: Don't call update-{mime,desktop}-database at build-time.
8
diff -urNad jokosher-0.9~/setup.py jokosher-0.9/setup.py
9
--- jokosher-0.9~/setup.py 2007-06-22 15:20:07.000000000 +0200
10
+++ jokosher-0.9/setup.py 2007-06-22 15:21:01.299004415 +0200
12
print "Updating the mime-types...."
14
#update the mimetypes database
15
- call(["update-mime-database", "/usr/share/mime/"])
16
+ #call(["update-mime-database", "/usr/share/mime/"])
18
#update the .desktop file database
19
- call(["update-desktop-database"])
20
+ #call(["update-desktop-database"])
6
diff -urNad jokosher-0.11.1~/setup.py jokosher-0.11.1/setup.py
7
--- jokosher-0.11.1~/setup.py 2009-04-16 23:24:58.000000000 +0200
8
+++ jokosher-0.11.1/setup.py 2009-04-18 03:00:01.000000000 +0200
10
print "Updating the scrollkeeper index..."
11
call(["scrollkeeper-update", "-o", installroot + omfdir])
13
-# Update the mime types
14
-if os.geteuid() == 0 and dist != None:
15
- print "Updating the mime-types...."
17
- #update the mimetypes database
19
- call(["update-mime-database", "/usr/share/mime/"])
23
- #update the .desktop file database
25
- call(["update-desktop-database"])
22
29
print "\nInstallation finished! You can now run Jokosher by typing 'jokosher' or through your applications menu icon."
31
## To uninstall manually delete these files/folders: