Install Script yarn
This commit is contained in:
parent
3c7d3ae605
commit
81161a4db7
@ -17,10 +17,48 @@ if [ $? != 0 ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
cd ..
|
||||
whiptail --msgbox "Installing packages" 7 23
|
||||
cd plugins/germanairlinesva/fleet
|
||||
yarn install
|
||||
if [ $? != 0 ]; then
|
||||
echo -e "\033[0;31mCould not install fleet packages"
|
||||
exit 1
|
||||
fi
|
||||
cd ../graphql
|
||||
yarn install
|
||||
if [ $? != 0 ]; then
|
||||
echo -e "\033[0;31mCould not install graphql packages"
|
||||
exit 1
|
||||
fi
|
||||
cd ../react
|
||||
yarn install
|
||||
if [ $? != 0 ]; then
|
||||
echo -e "\033[0;31mCould not install react packages"
|
||||
exit 1
|
||||
fi
|
||||
cd ../routes
|
||||
yarn install
|
||||
if [ $? != 0 ]; then
|
||||
echo -e "\033[0;31mCould not install routes packages"
|
||||
exit 1
|
||||
fi
|
||||
cd ../schooling
|
||||
yarn install
|
||||
if [ $? != 0 ]; then
|
||||
echo -e "\033[0;31mCould not install schooling packages"
|
||||
exit 1
|
||||
fi
|
||||
cd ../social
|
||||
yarn install
|
||||
if [ $? != 0 ]; then
|
||||
echo -e "\033[0;31mCould not install social packages"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
cd /var/www/ga
|
||||
|
||||
whiptail --msgbox "Setting ownership" 7 21
|
||||
chown www-data -R .
|
||||
chown www-data:www-data -R .
|
||||
if [ $? != 0 ]; then
|
||||
echo -e "\033[0;31mCould not set ownership to www-data"
|
||||
exit 1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user