Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-7349

Preinstall scriptlet removes links from /opt/couchbase, even when RPM_INSTALL_PREFIX0 is set

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.0.1
    • 1.8.1
    • installer
    • Security Level: Public
    • Linux RPM

    Description

      I found the following in the pre-install scriptlet. I imagine that you should be using $RPM_INSTALL_PREFIX0 instead of /opt/couchbase here.

      if [ -d /opt/couchbase ]
      then
        find /opt/couchbase -maxdepth 1 -type l | xargs rm -f || true
      fi
      

      Attachments

        For Gerrit Dashboard: MB-7349
        # Subject Branch Project Status CR V

        Activity

          People

            xiaoqin Xiaoqin Ma (Inactive)
            bj Bryce Jasmer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty