diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2024-12-16 01:31:55 +0200 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2024-12-16 01:31:55 +0200 |
commit | d5a0a3e25794dbed6bd08121d6bd51e7e516b707 (patch) | |
tree | 94f66bcc2365395e49585583e38eee5b7a422071 | |
parent | 74c5fffc9a9b30e2ef66623a8b410cb9518c8d48 (diff) | |
download | arching-kaos-tools-d5a0a3e25794dbed6bd08121d6bd51e7e516b707.tar.gz arching-kaos-tools-d5a0a3e25794dbed6bd08121d6bd51e7e516b707.tar.bz2 arching-kaos-tools-d5a0a3e25794dbed6bd08121d6bd51e7e516b707.zip |
Fixes
-rwxr-xr-x | install.sh | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -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" |