check package health on user system
the LST file could also be populated with BSUMs of all deployed files (at least for EXE, COM and BAT files) and compared with current status during a health check
I didn't want to make it that complex, but it makes sense.
Plus SYS files.
I would have come up with a neat batch file, but (Free/MS-)DOS command.com doesn't support "for /f ... package.lsm) ..." syntax. :-(
So, I'd like to request to add a new pkg action called "check" or "health".
It shall just read the LSM file line by line and check, if all files are present at the disk. If so, echo "OK" to the user. If not, throw an error, of course and tell the user something about restoring a backup or reinstalling the package from the repo.
Maybe also add a "checkall" action to iterate "pkg check" thru all installed packages.