Compare commits
2 Commits
5ced1b668d
...
c560f37742
| Author | SHA1 | Date | |
|---|---|---|---|
| c560f37742 | |||
| 81161a4db7 |
@ -17,10 +17,48 @@ if [ $? != 0 ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
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
|
whiptail --msgbox "Setting ownership" 7 21
|
||||||
chown www-data -R .
|
chown www-data:www-data -R .
|
||||||
if [ $? != 0 ]; then
|
if [ $? != 0 ]; then
|
||||||
echo -e "\033[0;31mCould not set ownership to www-data"
|
echo -e "\033[0;31mCould not set ownership to www-data"
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user