Minor code improvements, clean stale pkg on error
Minor code improvements, clean stale pkg files on error.
This commit is contained in:
1 parent
c6d769e4d5
commit
3e8e2305ae
3 files changed
+8
-1
No files matched your search
@@ -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.
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in new issue
Block a user