diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2024-12-16 02:09:22 +0200 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2024-12-16 02:09:22 +0200 |
commit | 1b9eba4f2dfa59c75d3bb3ca47bfa4a4ed45cb90 (patch) | |
tree | 430bc675b153530f239af610ea0bc43dfa9a2975 /install.sh | |
parent | 2ce602f212ba1da19cf59f8e39946c13b977bb84 (diff) | |
download | arching-kaos-tools-1b9eba4f2dfa59c75d3bb3ca47bfa4a4ed45cb90.tar.gz arching-kaos-tools-1b9eba4f2dfa59c75d3bb3ca47bfa4a4ed45cb90.tar.bz2 arching-kaos-tools-1b9eba4f2dfa59c75d3bb3ca47bfa4a4ed45cb90.zip |
Refactoring
Diffstat (limited to 'install.sh')
-rwxr-xr-x | install.sh | 13 |
1 files changed, 6 insertions, 7 deletions
@@ -30,7 +30,12 @@ ## clear -if [ -d ~/.arching-kaos ] +export AK_DEBUG="yes" +fullprogrampath="$(realpath $0)" +PROGRAM="$(basename $0)" +descriptionString="Arching Kaos Tools Installer" + +if [ -d "${HOME}/.arching-kaos" ] then printf '%s\n' "Error: Found ~/.arching-kaos directory." printf '%s\n' "Please backup your previous installationr and rerun ./install.sh." @@ -59,12 +64,6 @@ fi touch $AK_LOGSFILE source ./lib/_ak_log - -export AK_DEBUG="yes" -fullprogrampath="$(realpath $0)" -PROGRAM="$(basename $0)" -descriptionString="Arching Kaos Tools Installer" - source ./lib/_ak_script _ak_usage |