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
5bc59e2f
Commit
5bc59e2f
authored
Apr 07, 2022
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play: cleanup downloading (using content-disposition feature and empty dir…
epm play: cleanup downloading (using content-disposition feature and empty dir for package download)
parent
6d6d2933
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
10 deletions
+5
-10
assistant.sh
play.d/assistant.sh
+2
-4
code.sh
play.d/code.sh
+1
-0
discord.sh
play.d/discord.sh
+1
-6
yandex-browser.sh
play.d/yandex-browser.sh
+1
-0
No files found.
play.d/assistant.sh
View file @
5bc59e2f
...
...
@@ -51,13 +51,11 @@ esac
[
"
$(
$DISTRVENDOR
-d
)
"
=
"ALTLinux"
]
&&
epmi
--skip-installed
fontconfig-disable-type1-font-for-assistant
OPKG
=
/tmp/
$OPKG
$EGET
-O
$OPKG
$URL
epm
$repack
install
"
$OPKG
"
||
exit
rm
-fv
$OPKG
epm
$repack
install
"
$URL
"
||
exit
[
"
$repack
"
=
"--scripts"
]
&&
echo
"Warning! Privileged scripts from the vendor were running."
# TODO:
# after install:
#/usr/share/assistantd/daemon.sh --install
#/opt/assistant/scripts/fonts.sh --install
play.d/code.sh
View file @
5bc59e2f
...
...
@@ -2,6 +2,7 @@
PKGNAME
=
code
DESCRIPTION
=
"Visual Studio Code from the official site"
TIPS
=
"Run epm play code <version> to install specific version."
.
$(
dirname
$0
)
/common.sh
...
...
play.d/discord.sh
View file @
5bc59e2f
...
...
@@ -8,10 +8,5 @@ DESCRIPTION="Discord from the official site"
[
"
$(
$DISTRVENDOR
-a
)
"
!=
"x86_64"
]
&&
echo
"Only x86_64 is supported"
&&
exit
1
# FIXME: improve eget to support ? not ask mask (detect by =?)
PKG
=
/tmp/discord.deb
$EGET
-O
$PKG
"https://discord.com/api/download?platform=linux&format=deb"
#PKG="https://dl.discordapp.net/apps/linux/0.0.12/discord-0.0.12.deb"
epm
install
"https://discord.com/api/download?platform=linux&format=deb"
epm
install
"
$PKG
"
||
exit
rm
-fv
$PKG
play.d/yandex-browser.sh
View file @
5bc59e2f
...
...
@@ -2,6 +2,7 @@
PRODUCTDIR
=
/opt/yandex/browser
DESCRIPTION
=
"Yandex browser from the official site"
TIPS
=
"Run epm play yandex-browser beta to install beta version of the browser."
BRANCH
=
stable
if
[
"
$2
"
=
"beta"
]
||
epm installed yandex-browser-beta
;
then
...
...
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