Compare commits

..

1 Commits

Author SHA1 Message Date
f3bf151856 fixes 2023-01-18 07:58:30 +01:00
2 changed files with 12 additions and 6 deletions

View File

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

View File

@ -1,3 +1,5 @@
#!/bin/bash
echo -e "> Starting uninstallation of 'fastapi-dls'!"
# todo