diff options
author | Mike Gilbert <floppym@gentoo.org> | 2021-04-12 14:33:42 -0400 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2021-04-12 14:42:41 -0400 |
commit | a88e7c910896f1da3fcebbc306e6729250e63bf1 (patch) | |
tree | 8bf67e6701d8ed52a6c1b0e03c36dd273e284063 /net-im | |
parent | net-im/teams: replace EROOT with EPREFIX in env.d file (diff) | |
download | gentoo-a88e7c910896f1da3fcebbc306e6729250e63bf1.tar.gz gentoo-a88e7c910896f1da3fcebbc306e6729250e63bf1.tar.bz2 gentoo-a88e7c910896f1da3fcebbc306e6729250e63bf1.zip |
net-im/teams: use ED when removing installed files
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/teams/teams-1.4.00.7556.ebuild | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/net-im/teams/teams-1.4.00.7556.ebuild b/net-im/teams/teams-1.4.00.7556.ebuild index 46649526cfa5..dcee637a6d44 100644 --- a/net-im/teams/teams-1.4.00.7556.ebuild +++ b/net-im/teams/teams-1.4.00.7556.ebuild @@ -76,7 +76,7 @@ src_install() { fperms +x /usr/share/teams/teams if use system-ffmpeg ; then - rm -f "${D}"/usr/share/teams/libffmpeg.so || die + rm -f "${ED}"/usr/share/teams/libffmpeg.so || die cat > 99teams <<-EOF LDPATH="${EPREFIX}/usr/$(get_libdir)/chromium" @@ -86,14 +86,14 @@ src_install() { fi if use system-mesa ; then - rm -f "${D}"/usr/share/teams/libEGL.so || die - rm -f "${D}"/usr/share/teams/libGLESv2.so || die - rm -f "${D}"/usr/share/teams/swiftshader/libEGL.so || die - rm -f "${D}"/usr/share/teams/swiftshader/libGLESv2.so || die + rm -f "${ED}"/usr/share/teams/libEGL.so || die + rm -f "${ED}"/usr/share/teams/libGLESv2.so || die + rm -f "${ED}"/usr/share/teams/swiftshader/libEGL.so || die + rm -f "${ED}"/usr/share/teams/swiftshader/libGLESv2.so || die elog "Using system mesa. This is experimental and may lead to crashes." fi - rm -rf "${D}"/usr/share/teams/resources/app.asar.unpacked/node_modules/keytar3 || die + rm -rf "${ED}"/usr/share/teams/resources/app.asar.unpacked/node_modules/keytar3 || die sed -i '/OnlyShowIn=/d' "${S}"/usr/share/applications/teams.desktop || die domenu usr/share/applications/teams.desktop |