From e423063fe99644f16ce2c1fe50058613658e0215 Mon Sep 17 00:00:00 2001 From: Michael Zanetti Date: Wed, 9 Mar 2022 12:39:53 +0100 Subject: [PATCH] Remove apt.conf.d/99nymea also without purge option --- debian/nymead.postrm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 debian/nymead.postrm diff --git a/debian/nymead.postrm b/debian/nymead.postrm new file mode 100644 index 00000000..6364fad9 --- /dev/null +++ b/debian/nymead.postrm @@ -0,0 +1,30 @@ +#!/bin/sh + +# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # +# # +# Copyright (C) 2015 - 2022 nymea GmbH # +# # +# This file is part of nymea. # +# # +# nymea is free software: you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation, version 2 of the License. # +# # +# nymea is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with nymea. If not, see . # +# # +# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # + +# apt remove doesn't remove files from /etc unless --purge is given +# but we want to remove /etc/apt/apt.conf.d/99nymea in any case + +rm /etc/apt/apt.conf.d/99nymea + +#DEBHELPER# + +exit 0