installer

decryption-error-fix
quadrismegistus 4 years ago
parent a92f4fe8ee
commit c5de9a175b

@ -4,6 +4,8 @@
realpath() { realpath() {
[[ $1 = /* ]] && echo "$1" || echo "$PWD/${1#./}" [[ $1 = /* ]] && echo "$1" || echo "$PWD/${1#./}"
} }
echo "$1 $2 $3"
# install pyenv? # install pyenv?
@ -28,7 +30,7 @@ echo '
echo "Where should komrade live on your device?" echo "Where should komrade live on your device?"
path_komrade_default="`realpath ~/komrade`" path_komrade_default="`realpath ~/komrade`"
if [ ! "$1" = "-y" ] if [ "$1" = "-n" ]
then then
read -p "[$path_komrade_default] " path_komrade read -p "[$path_komrade_default] " path_komrade
else else
@ -80,7 +82,7 @@ then
else else
cd $path_komrade cd $path_komrade
if [ ! "$1" = "-y" ] if [ "$1" = "-n" ]
then then
echo "Use HTTPS or SSH for git?" echo "Use HTTPS or SSH for git?"
read -p "[HTTPS/ssh] " git_method read -p "[HTTPS/ssh] " git_method

Loading…
Cancel
Save