From 70cbc12ac7d895e42b19db8212799006b00c1ad0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Delafond?= Date: Sat, 16 Nov 2024 14:21:12 +0100 Subject: [PATCH] Simplify maintainer scripts --- debian/aptly-api.postrm | 10 ---------- debian/aptly-api.preinst | 13 ------------- 2 files changed, 23 deletions(-) diff --git a/debian/aptly-api.postrm b/debian/aptly-api.postrm index 5267dd34..b7ec5041 100755 --- a/debian/aptly-api.postrm +++ b/debian/aptly-api.postrm @@ -2,16 +2,6 @@ set -e -case "$1" in - purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) - ;; - - *) - echo "postrm called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac - #DEBHELPER# exit 0 diff --git a/debian/aptly-api.preinst b/debian/aptly-api.preinst index 2f857aed..b7ec5041 100755 --- a/debian/aptly-api.preinst +++ b/debian/aptly-api.preinst @@ -2,19 +2,6 @@ set -e -case "$1" in - install|upgrade) - ;; - - abort-upgrade) - ;; - - *) - echo "preinst called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac - #DEBHELPER# exit 0