mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2024-08-17 14:50:57 +03:00
intall-gui.sh now respects changes in the chia-blockchain-gui submodule (#867)
* Check whether -gui submodule has been modified * shellcheck
This commit is contained in:
parent
e55844f847
commit
fb16787bd8
@ -55,7 +55,17 @@ fi
|
||||
# for Mac and Windows so skip unless completing a source/developer install
|
||||
# Ubuntu special cases above
|
||||
if [ ! "$CI" ]; then
|
||||
git submodule update --init --recursive
|
||||
SUBMODULE_STATUS=$(git submodule status)
|
||||
if [[ $SUBMODULE_STATUS = " "* ]];
|
||||
then
|
||||
git submodule update --init --recursive
|
||||
echo "Running git submodule update --init --recursive."
|
||||
echo ""
|
||||
else
|
||||
echo "The chia-blockchain-gui submodule is in altered state."
|
||||
echo "Skipping git submodule update."
|
||||
echo ""
|
||||
fi
|
||||
cd chia-blockchain-gui
|
||||
npm install
|
||||
npm audit fix
|
||||
|
Loading…
Reference in New Issue
Block a user