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

View File

@@ -50,7 +50,7 @@ if [[ -f "$INSTALL_PATH" ]]; then
rc-update del qbittorrent-exporter &>/dev/null
rm -f "$SERVICE_PATH"
fi
rm -f "$INSTALL_PATH" "$CONFIG_PATH"
rm -f "$INSTALL_PATH" "$CONFIG_PATH" ~/.qbittorrent-exporter
msg_ok "${APP} has been uninstalled."
exit 0
fi