打包构建

This commit is contained in:
Yeomai committed 2026-10-18 16:17:01 +08:00
1 parent a6e45e0cb1
commit ee8772c1b7
36 files changed
+940 -21

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
#!/bin/bash
ACTION="${wizard_data_action:-keep}"
if [ "$ACTION" = "delete" ]; then
DATA_DIR="/${TRIM_APPDEST_VOL}/@appshare/pichost/data"
if [ -d "${DATA_DIR}" ]; then
rm -rf "${DATA_DIR:?}"/*
fi
if [ -n "${TRIM_PKGVAR:-}" ] && [ -d "$TRIM_PKGVAR" ]; then
rm -rf "${TRIM_PKGVAR:?}"/*
fi
if [ -n "${TRIM_PKGETC:-}" ] && [ -d "$TRIM_PKGETC" ]; then
rm -rf "${TRIM_PKGETC:?}"/*
fi
fi
exit 0