1
0

which -> command -v

This commit is contained in:
dtb 2023-08-31 15:33:48 -04:00
parent 163a8c0347
commit 5d06522445

View File

@ -1,5 +1,5 @@
# Maintainer: deven <trinity at trinitydotmoe>
# VERY LIGHTLY modified version of the AUR package opendoas-sudo
# modified version of the AUR package opendoas-sudo
pkgname=doas-sudo
pkgver=1
pkgrel=1
@ -13,5 +13,5 @@ conflicts=('sudo')
package() {
install -d "$pkgdir"/usr/bin
ln -s $(which doas) "$pkgdir"/usr/bin/sudo
ln -s $(command -v doas) "$pkgdir"/usr/bin/sudo
}