[med-svn] [Git][med-team/orthanc-wsi][master] 2 commits: replace explict restart of Orthanc in postinst/postrm by orthanc-restart-trigger

Sebastien Jodogne (@jodogne-guest) gitlab at salsa.debian.org
Sun Jan 16 18:44:43 GMT 2022



Sebastien Jodogne pushed to branch master at Debian Med / orthanc-wsi


Commits:
3741360c by jodogne-guest at 2022-01-16T19:33:34+01:00
replace explict restart of Orthanc in postinst/postrm by orthanc-restart-trigger

- - - - -
445ceac3 by jodogne-guest at 2022-01-16T19:43:59+01:00
Upload to unstable

- - - - -


5 changed files:

- debian/changelog
- debian/control
- − debian/postinst
- − debian/postrm
- + debian/triggers


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+orthanc-wsi (1.1-2) unstable; urgency=medium
+
+  * Replace explicit restart of Orthanc by orthanc-restart-trigger
+
+ -- Sebastien Jodogne <s.jodogne at gmail.com>  Sun, 16 Jan 2022 19:27:26 +0100
+
 orthanc-wsi (1.1-1) unstable; urgency=medium
 
   * New upstream version


=====================================
debian/control
=====================================
@@ -25,7 +25,7 @@ Architecture: any
 Depends: ${misc:Depends},
          ${shlibs:Depends}
 Built-Using: ${orthancframework:Built-Using}
-Recommends: orthanc (>= 1.1.0),
+Recommends: orthanc (>= 1.9.7+dfsg-6),
             libopenslide0
 Description: Whole-slide imaging support for Orthanc (digital pathology)
  Orthanc-WSI brings support of whole-slide imaging for digital


=====================================
debian/postinst deleted
=====================================
@@ -1,27 +0,0 @@
-#!/bin/sh
-
-set -e
-
-case $1 in
-    configure)
-        # Restart the Orthanc service
-        # https://www.debian.org/doc/debian-policy/ch-opersys.html#s9.3.3.2
-        if [ -x /etc/init.d/orthanc ]; then
-            if which invoke-rc.d >/dev/null 2>&1; then
-                invoke-rc.d orthanc restart
-            else
-                /etc/init.d/orthanc restart
-            fi
-        fi
-        ;;
-
-    abort-upgrade|abort-remove|abort-deconfigure)
-        ;;
-
-    *)
-        echo "prerm called with unknown argument \`$1'" >&2
-        exit 1
-        ;;
-esac
-
-#DEBHELPER#


=====================================
debian/postrm deleted
=====================================
@@ -1,27 +0,0 @@
-#!/bin/sh
-
-set -e
-
-case $1 in
-    purge|remove|upgrade)
-        # Restart the Orthanc service
-        # https://www.debian.org/doc/debian-policy/ch-opersys.html#s9.3.3.2
-        if [ -x /etc/init.d/orthanc ]; then
-            if which invoke-rc.d >/dev/null 2>&1; then
-                invoke-rc.d orthanc restart
-            else
-                /etc/init.d/orthanc restart
-            fi
-        fi
-        ;;
-
-    failed-upgrade|abort-install|abort-upgrade|disappear)
-        ;;
-
-    *)
-        echo "prerm called with unknown argument \`$1'" >&2
-        exit 1
-        ;;
-esac
-
-#DEBHELPER#


=====================================
debian/triggers
=====================================
@@ -0,0 +1,3 @@
+# Restart the Orthanc service with dpkg trigger
+# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1003314
+activate-await orthanc-restart-trigger



View it on GitLab: https://salsa.debian.org/med-team/orthanc-wsi/-/compare/6a31a46ca05a5ffb0816fcad07190fb8ce36b932...445ceac34573a4c94e7901d2ab32c2805d5bac69

-- 
View it on GitLab: https://salsa.debian.org/med-team/orthanc-wsi/-/compare/6a31a46ca05a5ffb0816fcad07190fb8ce36b932...445ceac34573a4c94e7901d2ab32c2805d5bac69
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20220116/0345c101/attachment-0001.htm>


More information about the debian-med-commit mailing list