2
0
mirror of https://github.com/ComradCollective/Comrad synced 2024-11-16 00:12:48 +00:00
This commit is contained in:
quadrismegistus 2020-09-14 17:42:03 +01:00
parent 69b7855cd5
commit b3e2511307

View File

@ -18,7 +18,6 @@ echo '
1) setting up folder... 1) setting up folder...
' '
# install dir? # install dir?
echo "where should komrade live?" echo "where should komrade live?"
read -p "[~/komrade] " path_komrade read -p "[~/komrade] " path_komrade
@ -26,21 +25,14 @@ if [ -z "$path_komrade" ]
then then
path_komrade="`realpath ~/komrade`" path_komrade="`realpath ~/komrade`"
fi fi
# echo "
# $path_komrade
# "
# exit
if [ ! -d "$path_komrade" ] if [ ! -d "$path_komrade" ]
then then
mkdir -p $path_komrade mkdir -p $path_komrade
echo "created $path_komrade" echo "created $path_komrade"
fi fi
echo ' echo '
2) downloading Komrade... 2) downloading Komrade...
@ -67,8 +59,10 @@ else
cp -r Komrade-master code cp -r Komrade-master code
rm -r Komrade-master rm -r Komrade-master
fi fi
cd $path_komrade cd $path_komrade
echo ' echo '
3) setting up python... 3) setting up python...
@ -101,6 +95,8 @@ then
fi fi
fi fi
cd $path_komrade cd $path_komrade
echo ' echo '
@ -131,9 +127,12 @@ fi
export PATH="$path_repo/bin:$PATH" export PATH="$path_repo/bin:$PATH"
echo ' echo '
5) adding bin folder to path 5) adding komrade bin folder to path
' '