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:
parent
f877a26150
commit
19e03b234a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user