Compare commits

...

1 Commits

Author SHA1 Message Date
f3bf151856 fixes 2023-01-18 07:58:30 +01:00

View File

@ -1,11 +1,11 @@
#!/bin/bash #!/bin/bash
if [ -f /etc/systemd/system/fastapi-dls.service ]; then if [ "$1" = purge ] && [ -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
fi fi
if [ -d /usr/share/fastapi-dls ]; then if [ "$1" = purge ] && [ -d /usr/share/fastapi-dls ]; then
echo "> Removing app." echo "> Removing app."
rm -r /usr/share/fastapi-dls rm -r /usr/share/fastapi-dls
fi fi