chrome.sh 546 Bytes
Newer Older
1 2
#!/bin/sh

3
PKGNAME=google-chrome-stable
4
SUPPORTEDARCHES="x86_64"
5
DESCRIPTION="The popular and trusted web browser by Google (Stable Channel) from the official site"
6

7
. $(dirname $0)/common.sh
8

9

10 11
#arch=$(epm print info --distro-arch)
#pkgtype=$(epm print info -p)
12
repack=''
13 14
arch=amd64
pkgtype=deb
15

16
# we have workaround for their postinstall script, so always repack rpm package
17
[ "$(epm print info -p)" = "deb" ] || repack='--repack'
18

19 20
PKG="https://dl.google.com/linux/direct/google-chrome-stable_current_$arch.$pkgtype"

21
epm install $repack "$PKG"