diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 19 |
1 files changed, 15 insertions, 4 deletions
@@ -1,4 +1,5 @@ -# Maintainer: samsapti <sam at sapti dot me> +# Maintainer: mrdotx <klassiker@gmx.de> +# Contributor: samsapti <sam at sapti dot me> # Contributor: Ultracoolguy <dummyd241 at gmaildotcom> # Quick thanks to deuill, creator of rofi-dmenu pkgname=opendoas-sudo @@ -9,10 +10,20 @@ arch=('any') url="https://github.com/Duncaen/OpenDoas" license=('MIT') depends=('opendoas') -provides=('sudo') # makes sudo appear as a satisfied dependency for other packages +provides=('sudo') conflicts=('sudo') package() { - install -d "$pkgdir"/usr/bin - ln -s $(which doas) "$pkgdir"/usr/bin/sudo + ################################################################# + # # + # This package is not just a symlink. It provides/conflicts # + # sudo, which means it replaces/uninstalls sudo. This cannot # + # be done with a simple symlink, as many packages have # + # sudo as dependency. Please do not delete this package again. # + # Thanks! # + # # + ################################################################# + + install -d "$pkgdir"/usr/bin + ln -s $(which doas) "$pkgdir"/usr/bin/sudo } |