forked from oscar.krause/fastapi-dls
postrm fixed removing app dir
This commit is contained in:
parent
6b3f536681
commit
cf21bec3b0
@ -5,6 +5,11 @@ if [[ -d /etc/fastapi-dls ]]; then
|
||||
# rm -r /etc/fastapi-dls
|
||||
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
|
||||
echo "> Removing service file."
|
||||
rm /etc/systemd/system/fastapi-dls.service
|
||||
|
Loading…
Reference in New Issue
Block a user