upgpkg: prometheus-smbmc-exporter 0.1.0-7

Fix broken permissions on files in /usr/bin due to dumb developers.
This commit is contained in:
George Rawlinson 2022-02-06 07:53:29 +00:00
parent d43d3eabe5
commit 17862bf6b2
Signed by: grawlinson
GPG Key ID: E0959FEA8B550539
1 changed files with 4 additions and 1 deletions

View File

@ -3,7 +3,7 @@
pkgname=prometheus-smbmc-exporter pkgname=prometheus-smbmc-exporter
_pkgname=smbmc-exporter _pkgname=smbmc-exporter
pkgver=0.1.0 pkgver=0.1.0
pkgrel=6 pkgrel=7
pkgdesc="Prometheus exporter for smbmc metrics" pkgdesc="Prometheus exporter for smbmc metrics"
arch=('any') arch=('any')
url="https://github.com/grawlinson/smbmc-exporter" url="https://github.com/grawlinson/smbmc-exporter"
@ -39,6 +39,9 @@ package() {
--destdir="$pkgdir" \ --destdir="$pkgdir" \
dist/*.whl dist/*.whl
# fix broken permissions
chmod 755 "$pkgdir"/usr/bin/*
# license # license
install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
} }