From 42b51a8fefb308a47840e3dae30c92eb6a39c95a Mon Sep 17 00:00:00 2001 From: kaotisk Date: Fri, 14 Mar 2025 00:35:20 +0200 Subject: Small update in structure of things --- lib/_ak_maintainance | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/_ak_maintainance') diff --git a/lib/_ak_maintainance b/lib/_ak_maintainance index fd03573..030060e 100755 --- a/lib/_ak_maintainance +++ b/lib/_ak_maintainance @@ -18,7 +18,6 @@ ### along with this program. If not, see . ### source $AK_LIBDIR/_ak_log -source $AK_LIBDIR/_ak_script function _ak_maintainance_backup(){ if [ -n "${AK_WORKDIR}" ] && [ -d "${AK_WORKDIR}" ] @@ -77,7 +76,7 @@ function _ak_maintainance_restore(){ function _ak_maintainance_nuke_all_but_core(){ if [ -n "${AK_WORKDIR}" ] && [ -d "${AK_WORKDIR}" ] then - export | grep '^AK_' + export | grep '^declare -x AK_' | grep -v 'BINDIR' | grep -v 'LIBDIR' | grep -v 'MODULESDIR' else _ak_log_error "No AK_WORKDIR found or it does not exist" fi -- cgit v1.2.3