Compare commits
2 Commits
365634f4d9
...
681e5fa95b
Author | SHA1 | Date | |
---|---|---|---|
681e5fa95b | |||
53f3265c09 |
@ -47,6 +47,7 @@ var helpers = shutils.ExecFuncs{
|
||||
"install-config": installHelperCmd("/etc", 0o644),
|
||||
"install-license": installHelperCmd("/usr/share/licenses", 0o644),
|
||||
"install-desktop": installHelperCmd("/usr/share/applications", 0o644),
|
||||
"install-icon": installHelperCmd("/usr/share/pixmaps", 0o644),
|
||||
"install-manual": installManualCmd,
|
||||
"install-completion": installCompletionCmd,
|
||||
"install-library": installLibraryCmd,
|
||||
@ -205,10 +206,12 @@ func getLibPrefix(hc interp.HandlerContext) string {
|
||||
|
||||
architecture := hc.Env.Get("ARCH").Str
|
||||
|
||||
if distroID == "debian" || slices.Contains(distroLike, "debian") {
|
||||
triple, ok := multiarchTupleMap[architecture]
|
||||
if distroID == "debian" || slices.Contains(distroLike, "debian") ||
|
||||
distroID == "ubuntu" || slices.Contains(distroLike, "ubuntu") {
|
||||
|
||||
tuple, ok := multiarchTupleMap[architecture]
|
||||
if ok {
|
||||
out = filepath.Join("/usr/lib", triple)
|
||||
out = filepath.Join("/usr/lib", tuple)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user