Skip to content

Commit

Permalink
fix(jans-linux-setup): install ncurses-compat-libs cb backend for el8 (
Browse files Browse the repository at this point in the history
  • Loading branch information
devrimyatar committed Feb 22, 2023
1 parent 0200751 commit 412e07f
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ def install(self):
if Config.cb_install == InstallTypes.LOCAL:
self.add_couchbase_post_messages()
self.couchbaseInstall()
Config.pbar.progress(self.service_name, "Configuring Couchbase", incr=False)
self.checkIfJansBucketReady()
self.couchebaseCreateCluster()

Expand Down Expand Up @@ -102,12 +103,14 @@ def couchbaseInstall(self):

package_name = max(cb_package_list)
self.logIt("Found package '%s' for install" % package_name)

Config.pbar.progress(self.service_name, "Importing Couchbase package", incr=False)
if base.clone_type == 'deb':
apt_path = shutil.which('apt')
self.chown(self.couchbasePackageFolder, '_apt', 'nogroup', recursive=True)
install_output = self.run([apt_path, 'install', '-y', package_name])
else:
if not self.check_installed('ncurses-compat-libs'):
self.installNetPackage('ncurses-compat-libs')
install_output = self.installPackage(package_name)

Config.post_messages.append(install_output)
Expand Down

0 comments on commit 412e07f

Please sign in to comment.