aboutsummaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-12-16 01:31:55 +0200
committerkaotisk <kaotisk@arching-kaos.org>2024-12-16 01:31:55 +0200
commitd5a0a3e25794dbed6bd08121d6bd51e7e516b707 (patch)
tree94f66bcc2365395e49585583e38eee5b7a422071 /install.sh
parent74c5fffc9a9b30e2ef66623a8b410cb9518c8d48 (diff)
downloadarching-kaos-tools-d5a0a3e25794dbed6bd08121d6bd51e7e516b707.tar.gz
arching-kaos-tools-d5a0a3e25794dbed6bd08121d6bd51e7e516b707.tar.bz2
arching-kaos-tools-d5a0a3e25794dbed6bd08121d6bd51e7e516b707.zip
Fixes
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh11
1 files 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"