blob: f73716b0ff4a66629abc5c3187e4bbf1be454183 (
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
|
diff -Naur jokosher-0.11.1.orig/setup.py jokosher-0.11.1/setup.py
--- jokosher-0.11.1.orig/setup.py 2009-03-17 08:49:23.000000000 +0530
+++ jokosher-0.11.1/setup.py 2009-04-10 00:10:48.465798839 +0530
@@ -92,27 +92,6 @@
for fileNum in range(0, len(installedOmfFiles)):
call(["scrollkeeper-preinstall", HELPURI[fileNum],
installedOmfFiles[fileNum], installedOmfFiles[fileNum]])
-
- #Update the scrollkeeper catalog
- if os.geteuid() == 0:
- print "Updating the scrollkeeper index..."
- call(["scrollkeeper-update", "-o", installroot + omfdir])
-
-# Update the mime types
-if os.geteuid() == 0 and dist != None:
- print "Updating the mime-types...."
-
- #update the mimetypes database
- try:
- call(["update-mime-database", "/usr/share/mime/"])
- except:
- pass
-
- #update the .desktop file database
- try:
- call(["update-desktop-database"])
- except:
- pass
print "\nInstallation finished! You can now run Jokosher by typing 'jokosher' or through your applications menu icon."
|