mirror of
https://github.com/openwrt/packages.git
synced 2026-05-31 06:51:51 +08:00
6a20260a1f
Fix shellcheck shell configuration in version check overrides. Signed-off-by: George Sapkin <george@sapk.in>
23 lines
387 B
Bash
Executable File
23 lines
387 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# shellcheck shell=busybox
|
|
|
|
case "$PKG_NAME" in
|
|
dbus)
|
|
dbus-cleanup-sockets --version 2>&1 | grep -F "$PKG_VERSION"
|
|
dbus-daemon --version 2>&1 | grep -F "$PKG_VERSION"
|
|
dbus-launch --version 2>&1 | grep -F "$PKG_VERSION"
|
|
dbus-uuidgen --version 2>&1 | grep -F "$PKG_VERSION"
|
|
;;
|
|
|
|
dbus-utils|\
|
|
libdbus)
|
|
exit 0
|
|
;;
|
|
|
|
*)
|
|
echo "Untested package: $PKG_NAME" >&2
|
|
exit 1
|
|
;;
|
|
esac
|