Change this line in the postinst script if [ -x `which gtk-update-icon-cache` ]; then
to if [ -x "`which gtk-update-icon-cache`" ]; then That should fix it. The lack of double quotes means that the test succeeds even when gtk-update-icon-cache is not installed. Thanks, -- Raul On Mon, Aug 11, 2014 at 8:38 PM, bill lam <[email protected]> wrote: > I prefer dropping dependency on libgtk2.0-bin because it is only related to > the desktop menu icon for ijconsole. How should we handle desktop menu or > icon? > On Aug 12, 2014 8:24 AM, "Raul Miller" <[email protected]> wrote: > >> The install instructions for j802 should mention the need for: >> >> sudo apt-get install libgtk2.0-bin >> >> since the current j802_amd64.deb does not require libgtk2.0-bin but >> postinstall fails if gtk-update-icon-cache is not present. >> >> Of course there are other valid approaches here: >> >> (1) make gtk-update-icon-cache optional >> (2) add "Requires: libgtk2.0-bin" to the control file >> >> But with the current .deb file, this should be handled in the instructions. >> >> FYI, >> >> -- >> Raul >> ---------------------------------------------------------------------- >> For information about J forums see http://www.jsoftware.com/forums.htm >> > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
