Delete user's config directory on uninstall

Remove the user's configuration directory during uninstallation.
This commit is contained in:
Tobias 2025-11-21 11:50:28 +01:00 committed by GitHub
parent c9ff1d36f4
commit e8e3bf2a07
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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