mirror of
https://git.collinwebdesigns.de/oscar.krause/fastapi-dls.git
synced 2024-11-23 23:41:06 +03:00
postrm fixed
This commit is contained in:
parent
914fc17795
commit
b745367baa
@ -1,15 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
if [[ -d /etc/fastapi-dls ]]; then
|
|
||||||
echo "> Config directory not empty, please remove manually."
|
|
||||||
# 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
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user