From 564edb8d5b96258171d5cd5fe9581787cea277d7 Mon Sep 17 00:00:00 2001 From: Dave Hibberd Date: Tue, 10 Oct 2023 23:02:55 +0100 Subject: [PATCH] New package location, get rid of the old one --- debian/changelog | 4 ++-- debian/install | 1 + debian/postinst | 9 +++++++++ debian/qtsoundmodem.desktop | 2 +- 4 files changed, 13 insertions(+), 3 deletions(-) create mode 100644 debian/postinst diff --git a/debian/changelog b/debian/changelog index a4c5ff8..187ce8d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,8 @@ -qtsoundmodem (0.0.0.68-1) UNRELEASED; urgency=medium +qtsoundmodem (0.0.0.68-1) unstable; urgency=medium * New Upstream - -- Dave Hibberd Sat, 07 Oct 2023 12:23:30 +0100 + -- Dave Hibberd Tue, 10 Oct 2023 23:03:20 +0100 qtsoundmodem (0.0.0.67-2) unstable; urgency=medium diff --git a/debian/install b/debian/install index 6e70033..db69a5c 100644 --- a/debian/install +++ b/debian/install @@ -1,2 +1,3 @@ +QtSoundModem /usr/bin/qtsoundmodem debian/qtsoundmodem.desktop /usr/share/applications debian/QtSoundModem.png /usr/share/pixmaps diff --git a/debian/postinst b/debian/postinst new file mode 100644 index 0000000..a2fd48f --- /dev/null +++ b/debian/postinst @@ -0,0 +1,9 @@ +#!/bin/sh + +set -e + +SM="/opt/oarc/QtSoundModem" + +if [ -d $SM ]; then + rm -rf /opt/oarc/QtSoundModem +fi diff --git a/debian/qtsoundmodem.desktop b/debian/qtsoundmodem.desktop index 8e26d00..ae3e609 100644 --- a/debian/qtsoundmodem.desktop +++ b/debian/qtsoundmodem.desktop @@ -2,7 +2,7 @@ Name=QtSoundModem Comment=QtSoundModem Version=1.0 -Exec=/opt/oarc/QtSoundModem/QtSoundModem +Exec=/usr/bin/qtsoundmodem GenericName=QtSoundModem Icon=QtSoundModem NoDisplay=false