From aecb45bd06edb0f130fce653077b19d8453cb2d9 Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Sat, 25 Dec 2021 18:32:27 +0100 Subject: Use dh_sysuser instead of manual adduser in postinst Signed-off-by: Olivier Gayot --- debian/swiftstory.postinst | 34 ---------------------------------- 1 file changed, 34 deletions(-) delete mode 100644 debian/swiftstory.postinst (limited to 'debian/swiftstory.postinst') diff --git a/debian/swiftstory.postinst b/debian/swiftstory.postinst deleted file mode 100644 index 5874566..0000000 --- a/debian/swiftstory.postinst +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/sh -# postinst script for swiftstory - -set -e - -# summary of how this script can be called: -# * `configure' -# * `abort-upgrade' -# * `abort-remove' `in-favour' -# -# * `abort-remove' -# * `abort-deconfigure' `in-favour' -# `removing' -# -# for details, see http://www.debian.org/doc/debian-policy/ or -# the debian-policy package - -case "$1" in - configure) - adduser --system swiftstory --no-create-home - ;; - - abort-upgrade | abort-remove | abort-deconfigure ) - ;; - - *) - echo "postinst called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac - -#DEBHELPER# - -exit 0 -- cgit v1.2.3