1
0
mirror of https://github.com/spacebarchat/spacebarchat.git synced 2024-11-22 02:12:30 +01:00

Update update-npm.sh

This commit is contained in:
Stylix58 2021-05-01 17:31:37 +02:00 committed by GitHub
parent f877a26150
commit 19e03b234a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,15 +1,13 @@
echo Update all dependancies...
cd ../..
source "config.sh"
for D in */; do
echo --------------
echo "$D";
cd $D
if [ $pnpm = true ]
then
pnpm i
else
npm i
fi
cd ..
if ! [ -x "$(command -v pnpm)" ]; then
npm i
else
pnpm i
fi
done