Delete user's config directory on uninstall
Remove the user's configuration directory during uninstallation.
This commit is contained in:
parent
c9ff1d36f4
commit
e8e3bf2a07
@ -50,7 +50,7 @@ if [[ -f "$INSTALL_PATH" ]]; then
|
|||||||
rc-update del qbittorrent-exporter &>/dev/null
|
rc-update del qbittorrent-exporter &>/dev/null
|
||||||
rm -f "$SERVICE_PATH"
|
rm -f "$SERVICE_PATH"
|
||||||
fi
|
fi
|
||||||
rm -f "$INSTALL_PATH" "$CONFIG_PATH"
|
rm -f "$INSTALL_PATH" "$CONFIG_PATH" ~/.qbittorrent-exporter
|
||||||
msg_ok "${APP} has been uninstalled."
|
msg_ok "${APP} has been uninstalled."
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user