Skip to content
Snippets Groups Projects
Commit 39fa8af5 authored by Niels Thykier's avatar Niels Thykier Committed by Walter Lozano
Browse files

Import Debian version 13.24.1

parent 2dfddfe5
No related branches found
No related tags found
1 merge request!45Update from debian/trixie for apertis/v2026dev2
Pipeline #855777 passed
Showing
with 47 additions and 16 deletions
......@@ -9,3 +9,6 @@ indent_style = space
[*.{pl,pm}]
indent_style = tab
[dh_*]
indent_style = tab
debian/changelog merge=dpkg-mergechangelogs
.idea
Joey Hess <joey>
Joey Hess <joeyh>
Valéry Perrin <vperrin-guest>
Valéry Perrin <valery.perrin.debian@free.fr>
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
if [ -z "${DPKG_ROOT:-}" ] && [ -x "/etc/init.d/#SCRIPT#" ]; then
if [ -z "$DPKG_ROOT" ] && [ -x "/etc/init.d/#SCRIPT#" ]; then
update-rc.d #SCRIPT# #INITPARMS# >/dev/null
invoke-rc.d #INVOKE_RCD_PARAMS##SCRIPT# start || #ERROR_HANDLER#
fi
......
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
if [ -z "${DPKG_ROOT:-}" ] && [ -x "/etc/init.d/#SCRIPT#" ]; then
if [ -z "$DPKG_ROOT" ] && [ -x "/etc/init.d/#SCRIPT#" ]; then
update-rc.d #SCRIPT# #INITPARMS# >/dev/null
if [ -n "$2" ]; then
_dh_action=restart
......
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
if [ -x "$(command -v systemd-tmpfiles)" ]; then
systemd-tmpfiles ${DPKG_ROOT:+--root="$DPKG_ROOT"} --create #TMPFILES# >/dev/null || true
systemd-tmpfiles ${DPKG_ROOT:+--root="$DPKG_ROOT"} --create #TMPFILES# || true
fi
fi
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
if [ -z "${DPKG_ROOT:-}" ] && [ -d /run/systemd/system ]; then
if [ -z "$DPKG_ROOT" ] && [ -d /run/systemd/system ]; then
systemctl --system daemon-reload >/dev/null || true
if [ -n "$2" ]; then
deb-systemd-invoke #RESTART_ACTION# #UNITFILES# >/dev/null || true
......
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
if [ -z "${DPKG_ROOT:-}" ] && [ -d /run/systemd/system ]; then
if [ -z "$DPKG_ROOT" ] && [ -d /run/systemd/system ]; then
systemctl --system daemon-reload >/dev/null || true
deb-systemd-invoke start #UNITFILES# >/dev/null || true
fi
......
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
if [ -z "${DPKG_ROOT:-}" ]; then
if [ -z "$DPKG_ROOT" ]; then
if deb-systemd-helper --user debian-installed #UNITFILE# ; then
# The following line should be removed in trixie or trixie+1
deb-systemd-helper --user unmask #UNITFILE# >/dev/null || true
......
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
if [ -z "${DPKG_ROOT:-}" ] ; then
if [ -z "$DPKG_ROOT" ] ; then
# The following line should be removed in trixie or trixie+1
deb-systemd-helper --user unmask #UNITFILE# >/dev/null || true
......
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
if [ -z "${DPKG_ROOT:-}" ] && [ -d /run/systemd/system ]; then
systemctl --global daemon-reload >/dev/null || true
if [ -z "$DPKG_ROOT" ] && [ -d /run/systemd/system ]; then
# Here we reload synchronously, as we really need to block in
# order to ensure the following restart also works. Furthermore,
# if there is no D-Bus user session, the restart won't work either,
# so there's no point if falling back to signals - so either both
# of these operations work, or both fail.
deb-systemd-invoke --user daemon-reload >/dev/null || true
deb-systemd-invoke --user restart #UNITFILES# >/dev/null || true
fi
fi
if [ "$1" = "remove" ] && [ -x "/etc/init.d/#SCRIPT#" ] ; then
chmod -x "/etc/init.d/#SCRIPT#" >/dev/null || true
fi
if [ -z "${DPKG_ROOT:-}" ] && [ "$1" = "purge" ] ; then
if [ -z "$DPKG_ROOT" ] && [ "$1" = "purge" ] ; then
update-rc.d #SCRIPT# remove >/dev/null
fi
if [ -x "$(command -v systemd-tmpfiles)" ]; then
if [ "$1" = "purge" ] && systemd-tmpfiles --help | grep -q "\-\-purge"; then
systemd-tmpfiles ${DPKG_ROOT:+--root="$DPKG_ROOT"} --purge - >/dev/null <<TMPFILES_EOF || true
#TMPFILES_PURGE#
TMPFILES_EOF
fi
fi
if [ -x "$(command -v systemd-tmpfiles)" ]; then
if [ "$1" = "remove" ]; then
systemd-tmpfiles ${DPKG_ROOT:+--root="$DPKG_ROOT"} --remove - >/dev/null <<TMPFILES_EOF || true
#TMPFILES_REMOVE#
TMPFILES_EOF
fi
fi
if [ "$1" = "purge" ]; then
if [ -z "${DPKG_ROOT:-}" ] && [ -x "/usr/bin/deb-systemd-helper" ] ; then
if [ -z "$DPKG_ROOT" ] && [ -x "/usr/bin/deb-systemd-helper" ] ; then
deb-systemd-helper --user purge #UNITFILES# >/dev/null || true
fi
fi
if [ -z "${DPKG_ROOT:-}" ] && [ "$1" = remove ] && [ -d /run/systemd/system ] ; then
systemctl --global daemon-reload >/dev/null || true
if [ -z "$DPKG_ROOT" ] && [ "$1" = remove ] && [ -d /run/systemd/system ] ; then
# We reload user instances asynchronously here, as it's after a removal so
# it doesn't need to block until it completes, and we cannot rely on D-Bus
# being available as dbus-user-session is not a mandatory dependency
deb-systemd-invoke --user --no-dbus daemon-reload >/dev/null || true
fi
if [ -z "${DPKG_ROOT:-}" ] && [ "$1" = upgrade ] && [ -x "/etc/init.d/#SCRIPT#" ] ; then
if [ -z "$DPKG_ROOT" ] && [ "$1" = upgrade ] && [ -x "/etc/init.d/#SCRIPT#" ] ; then
invoke-rc.d #INVOKE_RCD_PARAMS##SCRIPT# stop || #ERROR_HANDLER#
fi
if [ -z "${DPKG_ROOT:-}" ] && [ "$1" = upgrade ] && [ -d /run/systemd/system ] ; then
if [ -z "$DPKG_ROOT" ] && [ "$1" = upgrade ] && [ -d /run/systemd/system ] ; then
deb-systemd-invoke stop #UNITFILES# >/dev/null || true
fi
if [ -z "${DPKG_ROOT:-}" ] && [ -x "/etc/init.d/#SCRIPT#" ]; then
if [ -z "$DPKG_ROOT" ] && [ -x "/etc/init.d/#SCRIPT#" ]; then
invoke-rc.d #INVOKE_RCD_PARAMS##SCRIPT# stop || #ERROR_HANDLER#
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment