fixes
This commit is contained in:
parent
0ab5969d3a
commit
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