From 106f4e62cfe218458d20bc41825bf042e8b7606d Mon Sep 17 00:00:00 2001 From: Silke Meyer Date: Thu, 7 Sep 2017 11:29:22 +0200 Subject: [PATCH] Calling apt-get install twice less --- util/vagrant_provision.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/util/vagrant_provision.sh b/util/vagrant_provision.sh index 0cdddc58cb..72b73174a5 100644 --- a/util/vagrant_provision.sh +++ b/util/vagrant_provision.sh @@ -41,9 +41,7 @@ sudo chmod guo+x /usr/local/bin/vhost #Install php echo ">>> Installing PHP7" -sudo apt-get install -y php libapache2-mod-php php-cli php-mysql php-curl php-gd php-mbstring -sudo apt-get install -y imagemagick -sudo apt-get install -y php-imagick +sudo apt-get install -y php libapache2-mod-php php-cli php-mysql php-curl php-gd php-mbstring php-xml imagemagick php-imagick sudo systemctl restart apache2 @@ -83,7 +81,7 @@ cp /vagrant/util/htconfig.vagrant.php /vagrant/.htconfig.php # create the friendica database echo "create database friendica DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci" | mysql -u root -proot # import test database -# $MYSQL -uroot -proot friendica < /vagrant/friendica_test_data.sql +$MYSQL -uroot -proot friendica < /vagrant/friendica_test_data.sql # create cronjob - activate if you have enough memory in you dev VM # echo "*/10 * * * * cd /vagrant; /usr/bin/php include/poller.php" >> friendicacron