summaryrefslogtreecommitdiff
blob: 287765b04fc59af7843fc59548c235f90dca5277 (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 -ur jokosher-0.11.1.orig/setup.py jokosher-0.11.1/setup.py
--- jokosher-0.11.1.orig/setup.py	2009-03-17 05:19:23.000000000 +0200
+++ jokosher-0.11.1/setup.py	2009-05-12 09:43:39.000000000 +0300
@@ -93,27 +93,6 @@
 		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."
 	
 ## To uninstall manually delete these files/folders: