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:
parent
988c7e95de
commit
6550963322
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user