Verified Commit f03e93a1 authored by Thermi's avatar Thermi
Browse files

community/ossec-hids: lint APKBUILD

parent 98504a5d
Pipeline #88603 passed with stages
in 2 minutes and 30 seconds
......@@ -37,17 +37,17 @@ package() {
doc() {
cd "$builddir"
pkgdesc="Documentation for $pkgname"
mkdir -p "$subpkgdir"/usr/share/doc/$pkgname
mkdir -p "${subpkgdir:?}"/usr/share/doc/$pkgname
cp -a doc/* \
"$subpkgdir"/usr/share/doc/$pkgname
"${subpkgdir:?}"/usr/share/doc/$pkgname
}
contrib() {
pkgdesc="Contrib files for $pkgname"
mkdir -p "$subpkgdir"/usr/share/$pkgname
cp -a "$builddir"/contrib/* "$subpkgdir"/usr/share/$pkgname
mkdir -p "${subpkgdir:?}"/usr/share/$pkgname
cp -a "$builddir"/contrib/* "${subpkgdir:?}"/usr/share/$pkgname
for r in selinux debian-packages specs; do
rm -rf "$subpkgdir"/usr/share/$pkgname/$r
rm -rf "${subpkgdir:?}"/usr/share/$pkgname/$r
done
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment