Commit d1e022e6 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play teams: restore install, via web.archive.org

parent 446ef8f3
......@@ -5,20 +5,25 @@ SUPPORTEDARCHES="x86_64"
VERSION="$2"
# After April 12, 2023, Microsoft Teams Free (classic), the legacy free Teams app for business, will no longer be available.
# https://www.microsoft.com/en-us/microsoft-teams/free-classic-retirement?rtc=1
DESCRIPTION='' #"Microsoft Teams for Linux from the official site"
DESCRIPTION="Microsoft Teams for Linux from the archive.org of the official site"
. $(dirname $0)/common.sh
repack=''
pkgtype="$(epm print info -p)"
# archive.org have only deb packages
#pkgtype=deb
if [ "$pkgtype" = "deb" ] ; then
URL="https://packages.microsoft.com/repos/ms-teams/pool/main/t/teams"
arch=amd64
[ "$VERSION" = "*" ] && VERSION="[0-9]*"
else
URL="https://packages.microsoft.com/yumrepos/ms-teams"
arch=x86_64
pkgtype=rpm
[ "$VERSION" = "*" ] && VERSION="[0-9]*" || VERSION="$VERSION-1"
fi
if [ "$(epm print info -s)" = "alt" ] ; then
......@@ -27,6 +32,8 @@ fi
# rpm and deb contains the same binaries
# $ diff -ru teams-1.5.00.23861-1.x86_64 teams_1.5.00.23861_amd64
ARCHIVEORG=https://web.archive.org/web/20221130114832if_
# epm uses eget to download * names
epm install $repack "$URL/$(epm print constructname teams "$VERSION" $arch $pkgtype)"
epm install $repack "$ARCHIVEORG/$URL/$(epm print constructname teams "$VERSION" $arch $pkgtype)"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment