Fixing up some packaging issues
[gonvert] / support / builddeb.py
index 8685250..9b6f40d 100755 (executable)
@@ -20,6 +20,7 @@ __version__ = constants.__version__
 __build__ = constants.__build__
 __changelog__ = """
 0.2.24
+* Added Radioactivity and Radiation dose categories.
 * Added shortcuts for fullscreen
 * Switched to Find being brought up by CTRL+F
 * Added Find Previous and Find Next shortcuts (CTRL+P, CTRL+N)
@@ -130,7 +131,7 @@ __changelog__ = """
 __postinstall__ = """#!/bin/sh -e
 
 gtk-update-icon-cache -f /usr/share/icons/hicolor
-rm -f ~/.gonvert/gonvert.log
+rm -f ~/.gonvert/gonvert.log ~/.gonvert/selections.dat ~/.gonvert/window.dat
 """
 
 __preremove__ = """#!/bin/sh -e
@@ -219,7 +220,7 @@ def build_package(distribution):
                        for (oldName, newName) in files
                )
        for relPath, files in unflatten_files(find_files("data", ".")).iteritems():
-               fullPath = "/usr/lib/gonvert"
+               fullPath = "/usr/share/gonvert"
                if relPath:
                        fullPath += os.sep+relPath
                p[fullPath] = list(