plc-checkweigher 1.31.0 → 1.31.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/setup.sh +4 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "plc-checkweigher",
|
|
3
|
-
"version": "1.31.
|
|
3
|
+
"version": "1.31.2",
|
|
4
4
|
"description": "One-command installer for the PLC Check-Weigher system on Raspberry Pi (PREEMPT_RT kernel, Python stack, WiFi, SMB, systemd RT services)",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"postinstall": "node bin/cli.js"
|
package/setup.sh
CHANGED
|
@@ -776,6 +776,10 @@ setup_debloat() {
|
|
|
776
776
|
if [[ ${#_TO_REMOVE[@]} -gt 0 ]]; then
|
|
777
777
|
local _BEFORE
|
|
778
778
|
_BEFORE=$(df --output=avail / | tail -1)
|
|
779
|
+
# Pin keep-list packages so autoremove can never sweep them even if
|
|
780
|
+
# apt has them marked auto-installed (observed with desktop code).
|
|
781
|
+
apt-mark manual chromium code git nodejs samba-client network-manager \
|
|
782
|
+
&>/dev/null || true
|
|
779
783
|
DEBIAN_FRONTEND=noninteractive apt-get purge -y -qq "${_TO_REMOVE[@]}" \
|
|
780
784
|
> /tmp/debloat.log 2>&1 || warn "Some purges had warnings — see /tmp/debloat.log"
|
|
781
785
|
ok "Purged: ${_TO_REMOVE[*]}"
|