🎉 init
This commit is contained in:
commit
80e65e8a1a
2 changed files with 19 additions and 0 deletions
16
PKGBUILD
Normal file
16
PKGBUILD
Normal file
|
@ -0,0 +1,16 @@
|
|||
pkgname=sudoas
|
||||
pkgver=1.0
|
||||
pkgrel=1
|
||||
pkgdesc="A compatibility wrapper to provide 'sudo' using 'doas'"
|
||||
arch=('any')
|
||||
depends=('doas')
|
||||
provides=('sudo')
|
||||
conflicts=('sudo')
|
||||
replaces=('sudo')
|
||||
source=()
|
||||
sha256sums=()
|
||||
|
||||
package() {
|
||||
install -Dm755 "../wrapper.sh" "${pkgdir}/usr/bin/sudo"
|
||||
}
|
||||
|
3
wrapper.sh
Normal file
3
wrapper.sh
Normal file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
exec /usr/bin/doas "$@"
|
||||
|
Loading…
Add table
Reference in a new issue