mirror of
https://gitea.publichub.eu/oscar.krause/fastapi-dls.git
synced 2025-11-05 09:16:08 +00:00
postrm fixed removing app dir
This commit is contained in:
@@ -5,6 +5,11 @@ if [[ -d /etc/fastapi-dls ]]; then
|
|||||||
# rm -r /etc/fastapi-dls
|
# rm -r /etc/fastapi-dls
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ -d /usr/share/fastapi-dls/ ]]; then
|
||||||
|
echo "> Removing app dir."
|
||||||
|
rm -r /usr/share/fastapi-dls
|
||||||
|
fi
|
||||||
|
|
||||||
if [[ -f /etc/systemd/system/fastapi-dls.service ]]; then
|
if [[ -f /etc/systemd/system/fastapi-dls.service ]]; then
|
||||||
echo "> Removing service file."
|
echo "> Removing service file."
|
||||||
rm /etc/systemd/system/fastapi-dls.service
|
rm /etc/systemd/system/fastapi-dls.service
|
||||||
|
|||||||
Reference in New Issue
Block a user