Skip to content

Commit 35805a1

Browse files
author
gau1991
committed
1 parent de4b5a7 commit 35805a1

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/vendor/ee_ven_install_vimbadmin.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,15 @@ function ee_ven_install_vimbadmin()
44
{
55

66
# Install needed PHP5 libraries for ViMbAdmin
7-
# ee stack install php installed php5-mcrypt, php5-memcache, php5-mysqlnd
7+
# ee stack install php installed php5-mcrypt, php5-memcache, php5-mysqlnd
88
$EE_APT_GET install php5-cgi php5-json php-gettext \
99
|| ee_lib_error "Unable to install php-pear, exit status = " $?
1010

1111
# Install ViMbAdmin
1212
ee_lib_echo "Installing ViMbAdmin, please wait..."
1313
ee_lib_echo "It will take nearly 10-20 minutes, please wait..."
14+
mkdir -p /var/www/22222/htdocs/ \
15+
|| ee_lib_error "Unable to create ViMbAdmin Directory, exit status = " $?
1416
wget -cqO /var/www/22222/htdocs/vimbadmin.tar.gz https://github.com/opensolutions/ViMbAdmin/archive/${EE_VIMBADMIN_VERSION}.tar.gz \
1517
|| ee_lib_error "Unable to download ViMbAdmin, exit status = " $?
1618

@@ -25,8 +27,8 @@ function ee_ven_install_vimbadmin()
2527
|| ee_lib_error "Unable to install ViMbAdmin, exit status = " $?
2628

2729
# Fix permissions
28-
chown -R $EE_PHP_USER:$EE_PHP_USER /var/www/22222/htdocs/vimbadmin \
29-
|| ee_lib_error "Unable to change ownership for ViMbAdmin, exit status = " $?
30+
chown -R $EE_PHP_USER:$EE_PHP_USER /var/www/22222/ \
31+
|| ee_lib_error "Unable to change ownership for ViMbAdmin, exit status = " $?
3032

3133
# Remove unwanted files
3234
rm -rf /var/www/22222/htdocs/vimbadmin.tar.gz /var/www/22222/htdocs/vimbadmin/composer.phar

0 commit comments

Comments
 (0)