commit 558a3cd6a0b695551fbcab693bcc1e581817c6c8 parent 5480041a58c4a800e8ec41fc5a337705ac25b6a4 Author: GeaRSiX <gearsix@tuta.io> Date: Wed, 26 May 2021 13:06:03 +0100 changed default destination to ~/.local/bin if not root Diffstat:
M | install | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/install b/install @@ -16,7 +16,8 @@ dir=0 all=0 force=0 verbose=0 -default_destination=/usr/local/bin/ # default install directory +default_destination=$HOME/.local/bin +if [[ $USER == "root" ]]; then default_destination=/usr/local/bin/; fi source=./src/*.* depreciated_src=./src/depreciated/*.* scripts=()