Skip to content

Commit 40557ec

Browse files
committed
1 parent 5ccfe0f commit 40557ec

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

bin/compile-extension-memcached

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,13 @@ set -o errexit
44
source $(dirname $0)/compile-extensions-common
55

66
function install_memcache() {
7-
if [[ $(lsb_release -cs) = 'precise' || $(lsb_release -cs) = 'trusty' ]]; then
8-
pushd /tmp
9-
wget https://launchpad.net/libmemcached/1.0/1.0.18/+download/libmemcached-1.0.18.tar.gz
10-
tar xzf libmemcached-1.0.18.tar.gz
11-
pushd libmemcached-1.0.18
12-
./configure --prefix=$INSTALL_DEST/$VERSION && make && make install
13-
popd
14-
popd
15-
else
16-
sudo apt-get install memcached
17-
fi
7+
pushd /tmp
8+
wget https://launchpad.net/libmemcached/1.0/1.0.18/+download/libmemcached-1.0.18.tar.gz
9+
tar xzf libmemcached-1.0.18.tar.gz
10+
pushd libmemcached-1.0.18
11+
./configure --prefix=$INSTALL_DEST/$VERSION && make && make install
12+
popd
13+
popd
1814
}
1915

2016
travis_time_start

0 commit comments

Comments
 (0)