^
This commit is contained in:
parent
6dac48edf5
commit
c10867f89a
2 changed files with 4 additions and 4 deletions
|
@ -73,7 +73,7 @@ fi
|
||||||
cd saleor-dashboard
|
cd saleor-dashboard
|
||||||
# Was the -v (version) option used?
|
# Was the -v (version) option used?
|
||||||
if [ "vOPT" = "true" || $VERSION = "" ]; then
|
if [ "vOPT" = "true" || $VERSION = "" ]; then
|
||||||
sudo -u $UN git checkout `$VERSION`
|
sudo -u $UN git checkout $VERSION
|
||||||
fi
|
fi
|
||||||
# Install dependancies
|
# Install dependancies
|
||||||
sudo -u $UN npm i
|
sudo -u $UN npm i
|
||||||
|
|
|
@ -344,10 +344,10 @@ fi
|
||||||
#
|
#
|
||||||
if [ "$vOPT" = "true" ]; then
|
if [ "$vOPT" = "true" ]; then
|
||||||
if [ "$VERSION" = "" ]; then
|
if [ "$VERSION" = "" ]; then
|
||||||
VERSION="2.11.1"
|
VERSION="'2.11.1'"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
VERSION="2.11.1"
|
VERSION="'2.11.1'"
|
||||||
fi
|
fi
|
||||||
#
|
#
|
||||||
if [ "$STATIC_URL" = "" ]; then
|
if [ "$STATIC_URL" = "" ]; then
|
||||||
|
@ -604,7 +604,7 @@ cd $HD/saleor
|
||||||
# Was the -v (version) option used?
|
# Was the -v (version) option used?
|
||||||
if [ "vOPT" = "true" || $VERSION != "" ]; then
|
if [ "vOPT" = "true" || $VERSION != "" ]; then
|
||||||
# Checkout the specified version
|
# Checkout the specified version
|
||||||
sudo -u $UN git checkout `$VERSION`
|
sudo -u $UN git checkout $VERSION
|
||||||
wait
|
wait
|
||||||
fi
|
fi
|
||||||
# Install the project requirements
|
# Install the project requirements
|
||||||
|
|
Loading…
Reference in a new issue