Sebastien Jodogne pushed to branch master at Debian Med / orthanc-webviewer
Commits: 8e2f2789 by jodogne-guest at 2022-01-14T15:31:45+01:00 replace explict restart of Orthanc in postinst/postrm by orthanc-restart-trigger - - - - - 18dda792 by jodogne-guest at 2022-01-14T15:36:18+01:00 replace activate by activate-await in d/triggers - - - - - e91a3103 by jodogne-guest at 2022-01-14T15:38:56+01:00 typo - - - - - f98f8b8f by jodogne-guest at 2022-01-14T16:36:06+01:00 update d/control - - - - - 74777947 by jodogne-guest at 2022-01-14T16:38:38+01:00 fix - - - - - 6abbc4cc by jodogne-guest at 2022-01-14T16:54:50+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-webviewer (2.7-7) unstable; urgency=medium + + * Replace explicit restart of Orthanc by orthanc-restart-trigger + + -- Sebastien Jodogne <[email protected]> Fri, 14 Jan 2022 15:30:22 +0100 + orthanc-webviewer (2.7-6) unstable; urgency=medium * Fix syntax error in /etc/orthanc/webviewer.json ===================================== debian/control ===================================== @@ -28,7 +28,7 @@ Package: orthanc-webviewer Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends}, - orthanc (>= 1.7.1) + orthanc (>= 1.9.7+dfsg-6) Built-Using: ${orthancframework:Built-Using} Description: Web viewer of medical images for Orthanc Orthanc Web Viewer is a plugin to Orthanc, a lightweight, RESTful Vendor ===================================== debian/postinst ===================================== @@ -7,23 +7,13 @@ case $1 in # Configure the permissions of the configuration file chown orthanc:orthanc /etc/orthanc/webviewer.json chmod 0664 /etc/orthanc/webviewer.json - - # 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 + echo "postinst called with unknown argument \`$1'" >&2 exit 1 ;; esac ===================================== 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-webviewer/-/compare/01f7136f64a22819b1fdcb395636631d692aa146...6abbc4cc52024739031ed3112b9f3deec2e22877 -- View it on GitLab: https://salsa.debian.org/med-team/orthanc-webviewer/-/compare/01f7136f64a22819b1fdcb395636631d692aa146...6abbc4cc52024739031ed3112b9f3deec2e22877 You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ debian-med-commit mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit
