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
etersoft
eepm
Commits
25366749
Commit
25366749
authored
May 11, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play discord: improve eget using
parent
84687667
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
discord.sh
play.d/discord.sh
+3
-3
No files found.
play.d/discord.sh
View file @
25366749
...
@@ -10,8 +10,8 @@ DESCRIPTION="Discord from the official site"
...
@@ -10,8 +10,8 @@ DESCRIPTION="Discord from the official site"
if
[
"
$VERSION
"
!=
"*"
]
;
then
if
[
"
$VERSION
"
!=
"*"
]
;
then
PKGURL
=
"https://dl.discordapp.net/apps/linux/
$VERSION
/discord-
$VERSION
.deb"
PKGURL
=
"https://dl.discordapp.net/apps/linux/
$VERSION
/discord-
$VERSION
.deb"
else
else
epm assure wget
||
fatal
"Can't install wget, but curl can't get filename: https://github.com/curl/curl/issues/8461"
# workaround against curl can't get filename: https://github.com/curl/curl/issues/8461
PKGURL
=
"
https://discord.com/api/download?platform=linux&format=deb
"
PKGURL
=
"
$(
eget
--get-real-url
"https://discord.com/api/download?platform=linux&format=deb"
)
"
fi
fi
epm
install
"
$PKGURL
"
epm
install
"
$PKGURL
"
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