From 6f578d74cc70698efa4deea31fb3bf6360fcf668 Mon Sep 17 00:00:00 2001 From: Albin Suresh Date: Wed, 26 May 2021 13:35:53 +0530 Subject: [CIT-353] Support purge option for tedge debian package (#249) * [CIT-353] Support purge option for tedge debian package --- configuration/debian/tedge/postrm | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 configuration/debian/tedge/postrm (limited to 'configuration') diff --git a/configuration/debian/tedge/postrm b/configuration/debian/tedge/postrm new file mode 100644 index 00000000..155678ca --- /dev/null +++ b/configuration/debian/tedge/postrm @@ -0,0 +1,8 @@ +#!/bin/sh +set -e + +### Remove configs + +if [ "$1" = "purge" ]; then + rm -rf /etc/tedge +fi -- cgit v1.2.3