fixes
This commit is contained in:
parent
0ab5969d3a
commit
f3bf151856
@ -1,11 +1,11 @@
|
||||
#!/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."
|
||||
rm /etc/systemd/system/fastapi-dls.service
|
||||
fi
|
||||
|
||||
if [ -d /usr/share/fastapi-dls ]; then
|
||||
if [ "$1" = purge ] && [ -d /usr/share/fastapi-dls ]; then
|
||||
echo "> Removing app."
|
||||
rm -r /usr/share/fastapi-dls
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user