Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nurlan
eepm
Commits
cd146b42
Commit
cd146b42
authored
Oct 23, 2020
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add prescriptions for chrome, chromium-gost, skype
parent
e495e451
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
82 additions
and
0 deletions
+82
-0
chrome.sh
prescription.d/chrome.sh
+32
-0
chromium-gost.sh
prescription.d/chromium-gost.sh
+21
-0
skype.sh
prescription.d/skype.sh
+29
-0
No files found.
prescription.d/chrome.sh
0 → 100755
View file @
cd146b42
#!/bin/sh
# TODO: common place
fatal
()
{
echo
"FATAL:
$*
"
>
&2
exit
1
}
[
"
$1
"
!=
"--run"
]
&&
echo
"Install The popular and trusted web browser by Google (Stable Channel) from the official site"
&&
exit
[
"
$(
distro_info
-a
)
"
!=
"x86_64"
]
&&
echo
"Only x86_64 is supported"
&&
exit
1
arch
=
$(
distro_info
--distro-arch
)
pkgtype
=
$(
distro_info
-p
)
# don't used
complex_get
()
{
epm assure curl
||
fatal
# see https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=google-chrome
_channel
=
stable
pkgver
=
$(
a
=
curl
-s
https://dl.google.com/linux/chrome/rpm/stable/x86_64/repodata/other.xml.gz |
gzip
-df
|
grep
-A1
google-chrome-stable |
tail
-n1
|
sed
-e
's|.* ver="\(.*\)" .*|\1|'
)
pkgtype
=
deb
PKG
=
"https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-
${
_channel
}
/google-chrome-
${
_channel
}
_
${
pkgver
}
-1_amd64.deb"
}
PKG
=
"https://dl.google.com/linux/direct/google-chrome-stable_current_
$arch
.
$pkgtype
"
epm
install
--repack
"
$PKG
"
prescription.d/chromium-gost.sh
0 → 100755
View file @
cd146b42
#!/bin/sh
# TODO: common place
fatal
()
{
echo
"FATAL:
$*
"
>
&2
exit
1
}
[
"
$1
"
!=
"--run"
]
&&
echo
"Install Chromium with GOST support from the official site"
&&
exit
[
"
$(
distro_info
-a
)
"
!=
"x86_64"
]
&&
echo
"Only x86_64 is supported"
&&
exit
1
#arch=$(distro_info --distro-arch)
#pkgtype=$(distro_info -p)
arch
=
amd64
pkgtype
=
deb
PKG
=
$(
$EGET
--list
--latest
https://github.com/deemru/chromium-gost/releases
"chromium-gost-*linux-
$arch
.
$pkgtype
"
)
||
fatal
"Can't get package URL"
epm
install
"
$PKG
"
prescription.d/skype.sh
0 → 100755
View file @
cd146b42
#!/bin/sh
# TODO: common place
fatal
()
{
echo
"FATAL:
$*
"
>
&2
exit
1
}
[
"
$1
"
!=
"--run"
]
&&
echo
"Install Skype for Linux - Stable/Release Version from the official site"
&&
exit
[
"
$(
distro_info
-a
)
"
!=
"x86_64"
]
&&
echo
"Only x86_64 is supported"
&&
exit
1
#arch=$(distro_info --distro-arch)
pkgtype
=
$(
distro_info
-p
)
# don't used
complex_get
()
{
pkgtype
=
deb
# https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=skypeforlinux-stable-bin
_pkgname
=
skypeforlinux
pkgver
=
8.65.0.78
PKG
=
"https://repo.skype.com/deb/pool/main/s/
${
_pkgname
}
/
${
_pkgname
}
_
${
pkgver
}
_amd64.deb"
}
PKG
=
"https://repo.skype.com/latest/skypeforlinux-64.
$pkgtype
"
epm
install
--repack
"
$PKG
"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment