#!/bin/sh
PKGNAME=duplicati
# noarch
VERSION="$2"
DESCRIPTION="Duplicati from the official site"
URL="https://www.duplicati.com/"
. $(dirname $0)/common.sh
warn_version_is_not_supported
pkgtype="$(epm print info -p)"
#PKG=$(eget --list --latest https://www.duplicati.com/download "duplicati-*$pkgtype") || fatal "Can't get package URL"
PKGURL="$(eget -O /dev/stdout https://updates.duplicati.com/beta/latest-installers.js | grep -i -o -E '"url": "(.+)"' | cut -d'"' -f4 | grep "duplicati.*$pkgtype")"
install_pkgurl
-
Vitaly Lipatov authored
epm play.d/common.sh: implement install_pkgurl and install_pack_pkgurl and use it (repack rpm packages for any distro)
155cb2e9