1
0
mirror of https://github.com/spacebarchat/spacebarchat.git synced 2024-11-08 19:52:36 +01:00

Update setup.sh

This commit is contained in:
Stylix58 2021-05-01 17:12:59 +02:00 committed by GitHub
parent 988c7e95de
commit 6550963322
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,11 +35,6 @@ if ! [ -x "$(command -v npm)" ]; then
echo And make sure its in the path
exit 1
fi
if ! [ -x "$(command -v pnpm)" ]; then
echo PNPM is not installed but it is optionnal
echo You can install pnpm from: https://pnpm.io/installation
echo And make sure its in the path
fi
echo ✓ Dependencies are already installed
echo -------------------------------
echo Creating organization directory
@ -74,4 +69,11 @@ select yn in "y" "n"; do
esac
done
if ! [ -x "$(command -v pnpm)" ]; then
npm install -g pnpm
echo "pnpm=true" > "./config.sh"
else
echo "pnpm=true" > "./config.sh"
fi
echo Installation finished