From 1e4070a1bacb3e31f75ae94328fb69888dba3309 Mon Sep 17 00:00:00 2001 From: Oscar Krause Date: Tue, 17 Jan 2023 14:57:54 +0100 Subject: [PATCH] added remove "/usr/share/fastapi-dls" to "postrm" --- .DEBIAN/postrm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.DEBIAN/postrm b/.DEBIAN/postrm index 7c21ae7..63ca44f 100755 --- a/.DEBIAN/postrm +++ b/.DEBIAN/postrm @@ -5,4 +5,9 @@ if [ -f /etc/systemd/system/fastapi-dls.service ]; then rm /etc/systemd/system/fastapi-dls.service fi +if [ -d /usr/share/fastapi-dls ]; then + echo "> Removing app." + rm -r /usr/share/fastapi-dls +fi + # todo