You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-sound/jokosher/files/jokosher-0.11.1-update-data...

32 lines
1015 B

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: