summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Hibberd <d@vehibberd.com>2023-10-10 23:02:55 +0100
committerDave Hibberd <d@vehibberd.com>2023-10-10 23:03:48 +0100
commit564edb8d5b96258171d5cd5fe9581787cea277d7 (patch)
tree73d8dd60afb2ee0ae38a4504a0a701f5b5a16c4b
parentfecac3d40f3aad6d57d62ab157f77f85f7456e2b (diff)
New package location, get rid of the old one
-rw-r--r--debian/changelog4
-rw-r--r--debian/install1
-rw-r--r--debian/postinst9
-rw-r--r--debian/qtsoundmodem.desktop2
4 files changed, 13 insertions, 3 deletions
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 <d@vehibberd.com> Sat, 07 Oct 2023 12:23:30 +0100
+ -- Dave Hibberd <d@vehibberd.com> 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