From de17b0f1b5202c76fa1027f03260736474c01c88 Mon Sep 17 00:00:00 2001 From: Oscar Krause Date: Wed, 18 Jan 2023 07:58:30 +0100 Subject: [PATCH] fixes --- .DEBIAN/postrm | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/.DEBIAN/postrm b/.DEBIAN/postrm index 63ca44f..c3a4023 100755 --- a/.DEBIAN/postrm +++ b/.DEBIAN/postrm @@ -1,13 +1,9 @@ #!/bin/bash -if [ -f /etc/systemd/system/fastapi-dls.service ]; then - echo "> Removing service file." - 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 +# is removed automatically +#if [ "$1" = purge ] && [ -d /usr/share/fastapi-dls ]; then +# echo "> Removing app." +# rm -r /usr/share/fastapi-dls +#fi # todo