fastapi-dls/DEBIAN/postrm
Oscar Krause 6b3f536681 fixes
- fixed app dir
- fixed missing readme and version file
- keep config on update/remove
2022-12-28 07:40:44 +01:00

14 lines
290 B
Bash
Executable File

#!/bin/bash
if [[ -d /etc/fastapi-dls ]]; then
echo "> Config directory not empty, please remove manually."
# rm -r /etc/fastapi-dls
fi
if [[ -f /etc/systemd/system/fastapi-dls.service ]]; then
echo "> Removing service file."
rm /etc/systemd/system/fastapi-dls.service
fi
# todo