Two scripts and the README's licence section. LINUXexpert.org is being retired
as a site and is no longer where this work lives.
The clone URL in the README still says github.com/LINUXexpert-org/ubuntu2mint,
because that is the repository's actual path. The GitHub organisation slug and
the copyright holder are different things and only one of them is changing.
LICENSE untouched -- its "<name of author>" lines are GPL boilerplate, and the
FSF's copyright on the licence text is not ours to edit.
The removal-count guard was skipped whenever --yes was set:
if [[ "${ASSUME_YES}" != "yes" && "${remv_count}" -gt ... ]]
and prune refuses to run *without* --yes. So inside prune -- the only
command that removes anything -- the first condition was always false
and the threshold could never fire. It fired only in plan, which changes
nothing. The guard was live exactly where it did not matter and dead
where it did.
The check is now unconditional, with --max-removals N as the explicit
override, so raising the limit is a separate decision from not wanting
to be prompted. The critical-package check was already unconditional and
is unchanged.
Verified with --yes set and the default limit of 75: an ordinary purge
passes, 90 removals aborts, and a critical package aborts.
Also applies the same startup fix as the converter -- mkdir and the tee
redirection ran at file scope, before argument parsing, so --help and a
mistyped flag failed with a raw mkdir error rather than printing usage.