yandex-disk.sh 674 Bytes
Newer Older
1 2 3
#!/bin/sh

PKGNAME=yandex-disk
4
SUPPORTEDARCHES="x86_64 x86"
5
DESCRIPTION="Yandex Disk from the official site"
6

7
. $(dirname $0)/common.sh
8 9 10 11 12 13 14


# http://repo.yandex.ru/yandex-disk/yandex-disk_latest_amd64.deb
# http://repo.yandex.ru/yandex-disk/yandex-disk-latest.x86_64.rpm
# http://repo.yandex.ru/yandex-disk/yandex-disk_latest_i386.deb
# http://repo.yandex.ru/yandex-disk/yandex-disk-latest.i386.rpm
# epm uses eget to download * names
15 16 17 18 19 20 21 22
epm install "http://repo.yandex.ru/yandex-disk/$(epm print constructname $PKGNAME "latest")" || exit

# Install also tray indicator
if [ "$(epm print info -s)" = "alt" ] ; then
    epm install --skip-installed yandex-disk-indicator
fi

true