From 9edb167a215dc4e86d29d399757c66900fb2fec5 Mon Sep 17 00:00:00 2001 From: vincent Date: Tue, 5 Mar 2019 10:15:04 +0100 Subject: [PATCH] =?UTF-8?q?d=C3=A9sactivation=20du=20service=20redis=20?= =?UTF-8?q?=C3=A0=20l'installation=20pour=20cause=20d'IPv6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- debian/preinst | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 debian/preinst diff --git a/debian/preinst b/debian/preinst new file mode 100644 index 0000000..7e9f04d --- /dev/null +++ b/debian/preinst @@ -0,0 +1,35 @@ +#!/bin/sh +# preinst script for eole-redis +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `install' +# * `install' +# * `upgrade' +# * `abort-upgrade' +# for details, see https://www.debian.org/doc/debian-policy/ or +# the debian-policy package + +case "$1" in + install|upgrade) + deb-systemd-helper mask redis-server.service + ;; + + abort-upgrade) + ;; + + *) + echo "preinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0