fix sudoers.d permission

This commit is contained in:
Daniel Langbein 2021-05-02 21:19:23 +02:00
parent 29cd3868e2
commit 809ffddb50

View File

@ -2,8 +2,8 @@
_pkgname=sudo _pkgname=sudo
_reponame=arch _reponame=arch
pkgname="de-p1st-$_pkgname" pkgname="de-p1st-$_pkgname"
pkgver=0.0.1 pkgver=0.0.2
pkgrel=2 pkgrel=1
pkgdesc="sudo with configuration" pkgdesc="sudo with configuration"
arch=('any') arch=('any')
url="https://codeberg.org/privacy1st/${_reponame}" url="https://codeberg.org/privacy1st/${_reponame}"
@ -26,5 +26,6 @@ sha256sums=('SKIP')
package() { package() {
cd "${_reponame}/pkg/${pkgname}" cd "${_reponame}/pkg/${pkgname}"
install -Dm0644 wheel "$pkgdir"/etc/sudoers.d/wheel install -dm0750 "$pkgdir"/etc/sudoers.d/
install -m0644 wheel "$pkgdir"/etc/sudoers.d/wheel
} }