Compare commits
2 Commits
f3bf151856
...
5bb8f17679
Author | SHA1 | Date | |
---|---|---|---|
5bb8f17679 | |||
de17b0f1b5 |
@ -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."
|
||||
|
@ -1,5 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo -e "> Starting uninstallation of 'fastapi-dls'!"
|
||||
|
||||
# todo
|
||||
|
Loading…
Reference in New Issue
Block a user