build: update build for new bin & lib variables
This commit is contained in:
parent
64146be05a
commit
1f75dc9956
4 changed files with 3 additions and 24 deletions
|
|
@ -117,17 +117,9 @@ func Merge() error {
|
|||
// Set the distribution specificities
|
||||
func Configure() (err error) {
|
||||
switch Distribution {
|
||||
case "arch":
|
||||
err = setLibexec("/{usr/,}lib")
|
||||
|
||||
case "opensuse":
|
||||
err = setLibexec("/{usr/,}libexec")
|
||||
case "arch", "opensuse":
|
||||
|
||||
case "debian", "ubuntu", "whonix":
|
||||
if err := setLibexec("/{usr/,}libexec"); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
// Copy Ubuntu specific profiles
|
||||
if err := copyTo(DistDir.Join("ubuntu"), RootApparmord); err != nil {
|
||||
return err
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue