cat "$TMPFILE" >> "$DLGFILE"should be
cat "$TMPFILE" > "$DLGFILE"
I'm a long time user of pkg_rmleaves, but, after the last update, I'm experiencing a problem.Indeed, that looks like a regression. Thanks for debugging and finding the problem.
The first run works fine, but, after that, the same packages appear again and again, with the new leafs at the end of the list.
I think the problem lies at the beginning of the showList() function, where
cat "$TMPFILE" >> "$DLGFILE"should be
cat "$TMPFILE" > "$DLGFILE"
Indeed, that looks like a regression. Thanks for debugging and finding the problem.Thanks.
I think I fixed it and just submitted a maintainer update (Bug 297171).
On 5 Aug 2026, at 16:57, Andrea Venturoli <ml@netfence.it> wrote:Yay! Progress!
On 7/30/26 18:45, Alexander Wittig wrote:
Indeed, that looks like a regression. Thanks for debugging and finding the problem.Thanks.
I think I fixed it and just submitted a maintainer update (Bug 297171).
However, now it doesn't work at all :)
Reason is "--cancel-exit-code" and "--esc-exit-code" are not available in 14.4's bsddialog (only on 15.1).Unfortunately thatrCOs needed to allow xargs to break out of multiple dialogs for people with lots of leaf ports without seeing all of them.
Removing that line fixes it, though.
I think I implemented a work-around, could you try the latest version at https://github.com/abgandar/pkg_rmleaves to see if it works for you on 14.x?LGTM.
| Sysop: | Amessyroom |
|---|---|
| Location: | Fayetteville, NC |
| Users: | 74 |
| Nodes: | 6 (1 / 5) |
| Uptime: | 51:14:17 |
| Calls: | 1,101 |
| Calls today: | 1 |
| Files: | 1,339 |
| Messages: | 276,016 |