0
0
mirror of https://github.com/openwrt/packages.git synced 2025-02-12 00:00:55 +00:00
packages/admin/sudo/test.sh
Rosen Penev ed1f025a98 sudo: modify version to Alpine Linux one
The goal here is compatibility with APK.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2024-08-16 18:40:31 -07:00

8 lines
78 B
Bash

#!/bin/sh
case "$1" in
sudo)
sudo --version | grep "${2//_p/p}"
;;
esac