HomePhabricator
Diffusion Scap a29a9f05f0a2

Swap default bin_dir to something that actually resembles reality

Authored by demon on Dec 4 2017, 4:03 PM.

Description

Swap default bin_dir to something that actually resembles reality

Summary:
Scap supports two methods of installation:

  • Via a debian package. If that's the case, the bin_dir will be set to /usr/bin
  • Via pip/setup.py. In this scenario, the bin_dir should actually be /usr/local/bin

Using /srv/deployment/scap/scap/bin is a weird legacy setting from when we deployed Scap by using Scap. We don't do that anymore, so this default value makes zero sense. Even in Scap-Vagrant, we install somewhere unique from this.

Reviewers: mmodell, Release-Engineering-Team

Reviewed By: mmodell, Release-Engineering-Team

Tags: Release-Engineering-Team

Differential Revision: https://phabricator.wikimedia.org/D906