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