mirror of
https://github.com/JRGTH/xigmanas-bastille-extension.git
synced 2025-12-11 17:31:09 +01:00
Minor code improvements, clean stale pkg on error
Minor code improvements, clean stale pkg files on error.
This commit is contained in:
@@ -3,6 +3,8 @@
|
|||||||
======================
|
======================
|
||||||
Version Description
|
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.10......Minor code improvements and cleanup.
|
||||||
1.2.09......Add Debian keyring and minor code changes.
|
1.2.09......Add Debian keyring and minor code changes.
|
||||||
1.2.08......Code cleanup, remove unnecessary statement.
|
1.2.08......Code cleanup, remove unnecessary statement.
|
||||||
|
|||||||
@@ -109,6 +109,11 @@ unload_kmods() {
|
|||||||
posterror_exec() {
|
posterror_exec() {
|
||||||
# Commands to be executed post errors.
|
# Commands to be executed post errors.
|
||||||
unionfs_disable
|
unionfs_disable
|
||||||
|
|
||||||
|
# Clean for stale pkg.
|
||||||
|
if [ -d "${CWDIR}/system/All" ]; then
|
||||||
|
rm -r ${CWDIR}/system/All
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
unionfs_disable() {
|
unionfs_disable() {
|
||||||
|
|||||||
Reference in New Issue
Block a user