diff --git a/play.d/viber.sh b/play.d/viber.sh index f288a8eb6b7c68b4286ceae9f5dd2ea8b4e3f707..8a17fe9b1245eafd4a2b657a22c6a24df094f475 100755 --- a/play.d/viber.sh +++ b/play.d/viber.sh @@ -2,10 +2,12 @@ PKGNAME=viber SUPPORTEDARCHES="x86_64" +VERSION="$2" DESCRIPTION="Viber for Linux from the official site" . $(dirname $0)/common.sh +[ "$VERSION" = "*" ] || fatal "Only latest Viber version is allowed" # the same binaries in deb and rpm PKG="https://download.cdn.viber.com/cdn/desktop/Linux/viber.deb"