duplicati.sh 366 Bytes
Newer Older
1 2 3
#!/bin/sh

PKGNAME=duplicati
4
# noarch
5
VERSION="$2"
6
DESCRIPTION="Duplicati from the official site"
7
URL="https://www.duplicati.com/"
8 9 10

. $(dirname $0)/common.sh

11 12
warn_version_is_not_supported

13
PKGURL="$(eget -O /dev/stdout https://updates.duplicati.com/beta/latest-installers.js | grep -i -o -E '"url": "(.+)"' | cut -d'"' -f4 | grep "duplicati.*deb")"
14

15
install_pkgurl