This commit is contained in:
Oscar Krause 2023-01-18 07:58:30 +01:00
parent 0ab5969d3a
commit de17b0f1b5

View File

@ -1,13 +1,9 @@
#!/bin/bash #!/bin/bash
if [ -f /etc/systemd/system/fastapi-dls.service ]; then # is removed automatically
echo "> Removing service file." #if [ "$1" = purge ] && [ -d /usr/share/fastapi-dls ]; then
rm /etc/systemd/system/fastapi-dls.service # echo "> Removing app."
fi # rm -r /usr/share/fastapi-dls
#fi
if [ -d /usr/share/fastapi-dls ]; then
echo "> Removing app."
rm -r /usr/share/fastapi-dls
fi
# todo # todo