Minor code improvements, clean stale pkg on error

Minor code improvements, clean stale pkg files on error.
This commit is contained in:
JRGTH
2025-09-28 04:21:28 -04:00
parent c6d769e4d5
commit 3e8e2305ae
3 changed files with 8 additions and 1 deletions

View File

@@ -3,6 +3,8 @@
======================
Version Description
1.2.12......Minor code improvements, clean stale pkg files on error.
1.2.11......Add all bastille Linux flavors bootstrap options.
1.2.10......Minor code improvements and cleanup.
1.2.09......Add Debian keyring and minor code changes.
1.2.08......Code cleanup, remove unnecessary statement.

View File

@@ -109,6 +109,11 @@ unload_kmods() {
posterror_exec() {
# Commands to be executed post errors.
unionfs_disable
# Clean for stale pkg.
if [ -d "${CWDIR}/system/All" ]; then
rm -r ${CWDIR}/system/All
fi
}
unionfs_disable() {

View File

@@ -1 +1 @@
1.2.11
1.2.12