summaryrefslogtreecommitdiff
path: root/user/os-prober/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/os-prober/APKBUILD')
-rw-r--r--user/os-prober/APKBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/user/os-prober/APKBUILD b/user/os-prober/APKBUILD
index fb228faf2..016f92168 100644
--- a/user/os-prober/APKBUILD
+++ b/user/os-prober/APKBUILD
@@ -35,8 +35,9 @@ package() {
install -Dm755 $file "$pkgdir/usr/lib/$probes"
done
if [ -e "$probes/${PROBE_ARCH}" ]; then
- install -Dm755 $probes/${PROBE_ARCH}/* \
- "$pkgdir/usr/lib/$probes"
+ mkdir -p "$pkgdir/usr/lib/$probes/${PROBE_ARCH}"
+ cp -a $probes/${PROBE_ARCH}/* \
+ "$pkgdir/usr/lib/$probes/${PROBE_ARCH}"
fi
done
mkdir -p "$pkgdir"/usr/lib/os-prober "$pkgdir"/usr/bin