#!/bin/sh
# SPDX-License-Identifier: MIT
# Copyright (C) 2026 pake <pake@fedora.tw> - https://pomelo-os.org
# userdel shim: removes the account (the home directory stays, as the Settings page says); -r removes it too
R=; [ "$1" = -r ] && { R=-r; shift; }
exec pomelo-accounts del "$1" $R
