Skip to content

Commit a8d2e3d

Browse files
authored
Install prerequisite software-properties-common package
1 parent 5237464 commit a8d2e3d

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

setup.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
#!/bin/bash
22

3+
echo "* Refreshing software repositories..."
4+
sudo apt-get update > /dev/null
5+
6+
echo "* Installing prerequisite software packages..."
7+
sudo apt-get install -y software-properties-common > /dev/null
8+
39
echo "* Setting up third-party repository to allow installation of multiple PHP versions..."
410
sudo add-apt-repository -y ppa:ondrej/php > /dev/null
511

@@ -21,4 +27,4 @@ sudo apt-get install -y php7.0-gd php7.0-mysql php7.0-sqlite php7.0-soap php7.0-
2127
echo "* Installing additional PHP extensions..."
2228
sudo apt-get install -y php-memcache php-memcached > /dev/null
2329

24-
echo "* Setup complete. You may now use the 'switch-to-php-*.*.sh' scripts."
30+
echo "* Setup complete. You may now use the 'switch-to-php-*.*.sh' scripts."

0 commit comments

Comments
 (0)