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
0e8ed2bd
Commit
0e8ed2bd
authored
2 years ago
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play teams: fix for other rpm based distro
parent
18b96024
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
2 deletions
+17
-2
teams.sh
play.d/teams.sh
+17
-2
No files found.
play.d/teams.sh
View file @
0e8ed2bd
...
...
@@ -6,9 +6,24 @@ DESCRIPTION="Microsoft Teams for Linux from the official site"
.
$(
dirname
$0
)
/common.sh
repack
=
''
pkgtype
=
"
$(
$DISTRVENDOR
-p
)
"
if
[
"
$pkgtype
"
=
"deb"
]
;
then
URL
=
"https://packages.microsoft.com/repos/ms-teams/pool/main/t/teams"
arch
=
amd64
else
URL
=
"https://packages.microsoft.com/yumrepos/ms-teams/Packages/t"
arch
=
x86_64
pkgtype
=
rpm
fi
if
[
"
$(
$DISTRVENDOR
-s
)
"
=
"alt"
]
;
then
repack
=
"--repack"
fi
# rpm and deb contains the same binaries
#
https://packages.microsoft.com/yumrepos/ms-teams/teams-1.3.00.25560-1.x86_64.rpm
#
$ diff -ru teams-1.5.00.23861-1.x86_64 teams_1.5.00.23861_amd64
# epm uses eget to download * names
epm
install
"https://packages.microsoft.com/repos/ms-teams/pool/main/t/teams/
$(
epm print constructname teams
"*"
amd64 deb
)
"
epm
install
$repack
"
$URL
/
$(
epm print constructname teams
"[0-9]*"
$arch
$pkgtype
)
"
This diff is collapsed.
Click to expand it.
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