diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2018-07-07 00:11:07 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2018-07-07 00:11:07 +0300 |
commit | 6a9a915febbed30bb65e7ddd8d2f8a06e36b12d0 (patch) | |
tree | 3407b1534b9dd77338d387ea4fc5ee7310e4ebb6 | |
parent | bb32c27656d2b6247777c89edd7584f9a061bf7c (diff) |
jdupes: install binary to valid location
-rw-r--r-- | packages/app-misc/jdupes/jdupes-scm.exheres-0 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/app-misc/jdupes/jdupes-scm.exheres-0 b/packages/app-misc/jdupes/jdupes-scm.exheres-0 index 50d1c3a..3d57bf2 100644 --- a/packages/app-misc/jdupes/jdupes-scm.exheres-0 +++ b/packages/app-misc/jdupes/jdupes-scm.exheres-0 @@ -15,5 +15,7 @@ RESTRICT="test" src_install() { default edo cd "${IMAGE}" - edo mv usr/bin usr/$(exhost --target)/ + nonfatal edo mkdir -p usr/$(exhost --target)/bin + edo mv usr/bin/* usr/$(exhost --target)/bin/ + edo rmdir usr/bin } |