Compare commits

..

2 Commits

Author SHA1 Message Date
5bb8f17679 improvements 2023-01-18 08:07:55 +01:00
de17b0f1b5 fixes 2023-01-18 08:03:02 +01:00
2 changed files with 6 additions and 12 deletions

View File

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

View File

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