2
0
mirror of https://github.com/ComradCollective/Comrad synced 2024-11-03 23:15:33 +00:00
This commit is contained in:
quadrismegistus 2020-09-14 17:52:59 +01:00
parent b09b0533a8
commit bb341d2481

View File

@ -42,7 +42,7 @@ echo '
path_repo="$path_komrade/code"
if ! command -v git &> /dev/null
then
if [-d "$path_repo" ]
if [ -d "$path_repo" ]
then
cd $path_repo
git pull
@ -56,7 +56,7 @@ else
curl -LO https://github.com/Komrade/Komrade/archive/master.zip
unzip master.zip
rm master.zip
cp -r Komrade-master code
cp -rT Komrade-master code
rm -r Komrade-master
fi
cd $path_komrade