V8.00.000.2025.06.17
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 41s

Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
2025-07-24 21:44:40 +02:00
parent 61d0274e11
commit f86daeac88

View File

@@ -31,6 +31,11 @@ guard_sourcing
# 0: on success # 0: on success
####################################### #######################################
gen_dir_files() { gen_dir_files() {
[[ -d /tmp/.ciss/log ]] && rm -rf /tmp/.ciss
[[ -d "${TARGET}" ]] && rm -rf "${TARGET}"
[[ -d "${RECOVERY}" ]] && rm -rf "${RECOVERY}"
[[ -d "${VAR_SAFE_MNT_BASE}" ]] && rm -rf "${VAR_SAFE_MNT_BASE}"
### MAKE DIRS ### MAKE DIRS
mkdir -p /tmp/.ciss/{backup,log,tmp} && chmod -R 0700 /tmp/.ciss mkdir -p /tmp/.ciss/{backup,log,tmp} && chmod -R 0700 /tmp/.ciss
mkdir -p "${TARGET}" mkdir -p "${TARGET}"