Skip to content
This repository was archived by the owner on Mar 29, 2023. It is now read-only.

Commit 544f51b

Browse files
committed
Allow installation of sync gateway on 18.04
1 parent 99b284d commit 544f51b

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

modules/install-couchbase-server/install-couchbase-server

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ function print_usage {
4545
echo
4646
echo "Usage: install-couchbase-server [options]"
4747
echo
48-
echo "This script can be used to install Couchbase Server and its dependencies. This script has been tested with Ubuntu 16.04 and Amazon Linux 2."
48+
echo "This script can be used to install Couchbase Server and its dependencies. This script has been tested with Ubuntu 16.04, 18.04, and Amazon Linux 2."
4949
echo
5050
echo "Options:"
5151
echo
@@ -147,7 +147,7 @@ function disable_transparent_huge_pages {
147147
elif os_is_amazon_linux; then
148148
sudo chkconfig disable-thp on
149149
else
150-
log_error "This script only supports Ubuntu 16.04 and Amazon Linux 2."
150+
log_error "This script only supports Ubuntu 16.04, 18.04, and Amazon Linux 2."
151151
exit 1
152152
fi
153153
}

modules/install-sync-gateway/install-sync-gateway

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ function print_usage {
4848
echo
4949
echo "Usage: install-sync-gateway [options]"
5050
echo
51-
echo "This script can be used to install Couchbase Sync Gateway and its dependencies. This script has been tested with Ubuntu 16.04 and Amazon Linux 2."
51+
echo "This script can be used to install Couchbase Sync Gateway and its dependencies. This script has been tested with Ubuntu 16.04, 18.04, and Amazon Linux 2."
5252
echo
5353
echo "Options:"
5454
echo
@@ -257,12 +257,12 @@ function install {
257257

258258
log_info "Starting Sync Gateway install..."
259259

260-
if os_is_ubuntu "16.04"; then
260+
if os_is_ubuntu "16.04" || os_is_ubuntu "18.04"; then
261261
install_sync_gateway_on_ubuntu "$edition" "$version" "$checksum" "$checksum_type"
262262
elif os_is_amazon_linux "2"; then
263263
install_sync_gateway_on_amazon_linux "$edition" "$version" "$checksum" "$checksum_type"
264264
else
265-
log_error "This script only supports Ubuntu 16.04 and Amazon Linux 2."
265+
log_error "This script only supports Ubuntu 16.04, 18.04, and Amazon Linux 2."
266266
exit 1
267267
fi
268268

0 commit comments

Comments
 (0)