--- setup.py 2008-07-21 07:45:52.000000000 -0300 +++ setup.py2 2008-11-06 21:13:55.000000000 -0200 @@ -108,25 +108,3 @@ data_files = i18n_files + doc_files + os_files, **info.SETUP ) - -if not WINDOWS: - # Update the mime types - if ROOT and dist != None: - - #update the mimetypes database - try: - subprocess.call(["update-mime-database", - os.path.join(sys.prefix,"share/mime/")]) - write('Updating the mime types database.\n') - except: - error('Failed to update the mime types database.\n') - - #update the .desktop file database - try: - subprocess.call(["update-desktop-database"]) - write('Updating the .desktop file database.\n') - except: - error('Failed to update the .desktop file database.\n') - -write( "\nInstallation finished! You can now run Phatch by typing 'phatch' \n" - "or through your applications menu.\n")