Compare commits
1 Commits
5bb8f17679
...
f3bf151856
Author | SHA1 | Date | |
---|---|---|---|
f3bf151856 |
@ -1,9 +1,13 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# is removed automatically
|
if [ "$1" = purge ] && [ -f /etc/systemd/system/fastapi-dls.service ]; then
|
||||||
#if [ "$1" = purge ] && [ -d /usr/share/fastapi-dls ]; then
|
echo "> Removing service file."
|
||||||
# echo "> Removing app."
|
rm /etc/systemd/system/fastapi-dls.service
|
||||||
# rm -r /usr/share/fastapi-dls
|
fi
|
||||||
#fi
|
|
||||||
|
|
||||||
echo -e "> Done."
|
if [ "$1" = purge ] && [ -d /usr/share/fastapi-dls ]; then
|
||||||
|
echo "> Removing app."
|
||||||
|
rm -r /usr/share/fastapi-dls
|
||||||
|
fi
|
||||||
|
|
||||||
|
# todo
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
echo -e "> Starting uninstallation of 'fastapi-dls'!"
|
echo -e "> Starting uninstallation of 'fastapi-dls'!"
|
||||||
|
|
||||||
|
# todo
|
||||||
|
Loading…
Reference in New Issue
Block a user