diff options
author | Alexander Verbovetsky <alik@ejik.org> | 2020-11-20 19:08:19 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-11-22 01:14:21 +0700 |
commit | 5cd69dd84048716526706f711c203203dda2e596 (patch) | |
tree | d6642b56195616b547fb74bc3a41f384068a806a /network/AdGuardHome/AdGuardHome.SlackBuild | |
parent | 4e0a281ecba84208cfda3622c6cc55c62e1cea77 (diff) |
network/AdGuardHome: Updated for version 0.104.3.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/AdGuardHome/AdGuardHome.SlackBuild')
-rw-r--r-- | network/AdGuardHome/AdGuardHome.SlackBuild | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/network/AdGuardHome/AdGuardHome.SlackBuild b/network/AdGuardHome/AdGuardHome.SlackBuild index f91fb77c3c95..75d85231bd7d 100644 --- a/network/AdGuardHome/AdGuardHome.SlackBuild +++ b/network/AdGuardHome/AdGuardHome.SlackBuild @@ -23,14 +23,13 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=AdGuardHome -VERSION=${VERSION:-0.104.1} +VERSION=${VERSION:-0.104.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi @@ -40,16 +39,13 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SUFFIX="linux_386" -elif [ "$ARCH" = "x86_64" ]; then - SUFFIX="linux_amd64" -elif [ "$ARCH" = "arm" ]; then - SUFFIX="linux_arm" -else - echo "$ARCH is not supported." >&2 - exit 1 -fi +case "$ARCH" in + i?86) SUFFIX="linux_386" ;; + x86_64) SUFFIX="linux_amd64" ;; + *) echo "$ARCH is not supported." >&2 + exit 1 + ;; +esac set -e |