[neon/kde/ksshaskpass/Neon/unstable] debian: debhelper-compat and install into /usr

Carlos De Maine null at kde.org
Sun May 14 06:40:40 BST 2023


Git commit 464e5b780bafdfe471204d52d6a26ca7ca18c8b1 by Carlos De Maine.
Committed on 14/05/2023 at 05:40.
Pushed by carlosdem into branch 'Neon/unstable'.

debhelper-compat and install into /usr

D  +0    -1    debian/compat
M  +2    -2    debian/control
M  +1    -1    debian/postinst
M  +1    -1    debian/prerm

https://invent.kde.org/neon/kde/ksshaskpass/commit/464e5b780bafdfe471204d52d6a26ca7ca18c8b1

diff --git a/debian/compat b/debian/compat
deleted file mode 100644
index b4de394..0000000
--- a/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-11
diff --git a/debian/control b/debian/control
index 9395d29..26a8394 100644
--- a/debian/control
+++ b/debian/control
@@ -3,8 +3,8 @@ Section: utils
 Priority: optional
 Maintainer: Debian/Kubuntu Qt/KDE Maintainers <debian-qt-kde at lists.debian.org>
 Uploaders: Maximiliano Curia <maxy at debian.org>
-Build-Depends: cmake (>= 2.8.12~),
-               debhelper (>= 11~),
+Build-Depends: cmake,
+               debhelper-compat (= 13),
                kf6-extra-cmake-modules,
                kf6-kcoreaddons-dev,
                kf6-kdoctools-dev,
diff --git a/debian/postinst b/debian/postinst
index 7740245..c581458 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -21,7 +21,7 @@ set -e
 case "$1" in
     configure)
         update-alternatives --quiet \
-            --install /usr/bin/ssh-askpass ssh-askpass /usr/kf6/bin/ksshaskpass 35 \
+            --install /usr/bin/ssh-askpass ssh-askpass /usr/bin/ksshaskpass 35 \
 	    --slave /usr/share/man/man1/ssh-askpass.1.gz ssh-askpass.1.gz "/usr/share/man/man1/ksshaskpass.1.gz"
     ;;
 
diff --git a/debian/prerm b/debian/prerm
index cbe4f05..5b7c4c9 100644
--- a/debian/prerm
+++ b/debian/prerm
@@ -19,7 +19,7 @@ set -e
 
 case "$1" in
     remove|deconfigure)
-      update-alternatives --quiet --remove ssh-askpass /usr/kf6/bin/ksshaskpass
+      update-alternatives --quiet --remove ssh-askpass /usr/bin/ksshaskpass
     ;;
 
     upgrade)


More information about the Neon-commits mailing list