From 0dddf9711ca43200c296c7e2b8ac3dab425dba63 Mon Sep 17 00:00:00 2001 From: sr Date: Thu, 31 Dec 2009 00:34:17 +0300 Subject: [PATCH] minor build fix --- debian/qstardict.postinst | 11 ++++++----- debian/rules | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/debian/qstardict.postinst b/debian/qstardict.postinst index ccc7787..1c71f5c 100755 --- a/debian/qstardict.postinst +++ b/debian/qstardict.postinst @@ -1,13 +1,14 @@ #!/bin/sh -echo "Updating GTK's icon cache" gtk-update-icon-cache -f /usr/share/icons/hicolor +MAEMO_SELECT_MENU=/usr/bin/maemo-select-menu-location + oldversion="$2" -if [ "$OSSO_PRODUCT_RELEASE_FULL_NAME" != "Maemo 5" ]; then +if [ -f $MAEMO_SELECT_MENU ]; then if [ -z "$oldversion" ]; then - if ! maemo-select-menu-location qstardict.desktop; then - echo "Couldn't launch maemo-select-menu-location" - fi + maemo-select-menu-location qstardict.desktop fi fi + +exit 0 diff --git a/debian/rules b/debian/rules index 3660ab6..d6100a8 100755 --- a/debian/rules +++ b/debian/rules @@ -53,7 +53,7 @@ install: mkdir -p $(CURDIR)/debian/qstardict/usr/share/applications/hildon/ cp $(CURDIR)/qstardict/qstardict.desktop $(CURDIR)/debian/qstardict/usr/share/applications/hildon/qstardict.desktop mkdir -p $(CURDIR)/debian/qstardict/usr/share/doc/qstardict - cp $(CURDIR)/qstardict/copyright $(CURDIR)/debian/qstardict/usr/share/doc/qstardict/copyright + cp $(CURDIR)/debian/copyright $(CURDIR)/debian/qstardict/usr/share/doc/qstardict/copyright binary-indep: build install -- 1.7.9.5