From d5a0a3e25794dbed6bd08121d6bd51e7e516b707 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Mon, 16 Dec 2024 01:31:55 +0200 Subject: Fixes --- install.sh | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/install.sh b/install.sh index 02a38ad..0915b4f 100755 --- a/install.sh +++ b/install.sh @@ -91,8 +91,7 @@ _ak_check_and_create_dir $AK_CHUNKSDIR _ak_check_and_create_dir $AK_LEAFSDIR _ak_check_and_create_dir $AK_MAPSDIR _ak_check_and_create_dir $AK_GPGHOME -echo "AK_GPGHOME: $AK_GPGHOME" -chmod 700 -R $AK_GPGHOME +chmod 700 $AK_GPGHOME _ak_let_there_be_file $AK_GENESIS _ak_let_there_be_file $AK_ZBLOCKSFILE _ak_let_there_be_file $AK_ZPAIRSFILE @@ -219,15 +218,15 @@ fi _ak_log_debug "Searching for shell" if [ -f "~/.zshrc" ] then - SHELLRC="~/.zshrc" + SHELLRC="${HOME}/zshrc" _ak_log_debug "ZSH found"; -elif [ -f "~/.bashrc" ] +elif [ -f "${HOME}/.bashrc" ] then - SHELLRC='~/.bashrc' + SHELLRC="${HOME}/.bashrc" _ak_log_debug "BASH found"; else _ak_log_debug "Unknown shell... defaulting to ~/.shrc" - SHELLRC='~/.shrc' + SHELLRC="${HOME}/.shrc" fi _ak_log_debug "Searching if rc is already there" -- cgit v1.2.3