commit a05a7b4b0182bb6e304f803b321e885e7ee231ab
parent b29176589832c62599a3c7e1d77b16e2725df954
Author: gearsix <gearsix@tuta.io>
Date: Wed, 26 Apr 2023 12:34:51 +0100
install: -r sets the to executable
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/install.sh b/install.sh
@@ -86,6 +86,9 @@ install_yn () {
if [[ $yn == "y" || $yn == "Y" || $yn == "yes" ]]; then
install_script $src $dest
ask=1
+ if [[ $reinstall ]]; then
+ chmod +x "$src"
+ fi
elif [[ $yn == "n" || $yn == "N" || $yn == "no" ]]; then
printf "\tskipping...\n"
ask=1