summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2024-07-21 10:35:15 +0200
committerPacho Ramos <pacho@gentoo.org>2024-07-21 10:35:58 +0200
commitd47dbc8602bbab9358bc1ab2e7b2c4f4fbbc666d (patch)
tree3880fffe108c4e2de24fd34a83f40451095dffa9 /media-tv
parentmedia-tv/plex-media-server: add 1.40.4.8679 (diff)
downloadgentoo-d47dbc8602bbab9358bc1ab2e7b2c4f4fbbc666d.tar.gz
gentoo-d47dbc8602bbab9358bc1ab2e7b2c4f4fbbc666d.tar.bz2
gentoo-d47dbc8602bbab9358bc1ab2e7b2c4f4fbbc666d.zip
media-tv/plex-media-server: Fix VariableScope warning
Closes: https://github.com/gentoo/gentoo/pull/37514 Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Diffstat (limited to 'media-tv')
-rw-r--r--media-tv/plex-media-server/plex-media-server-1.40.4.8679.ebuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/media-tv/plex-media-server/plex-media-server-1.40.4.8679.ebuild b/media-tv/plex-media-server/plex-media-server-1.40.4.8679.ebuild
index b5ba18cdfb50..6dd77f9a9ed1 100644
--- a/media-tv/plex-media-server/plex-media-server-1.40.4.8679.ebuild
+++ b/media-tv/plex-media-server/plex-media-server-1.40.4.8679.ebuild
@@ -40,11 +40,6 @@ QA_MULTILIB_PATHS=(
"usr/lib/plexmediaserver/Resources/Python/lib/python2.7/lib-dynload/_hashlib.so"
)
-BINS_TO_PAX_MARK=(
- "${ED}/usr/lib/plexmediaserver/Plex Script Host"
- "${ED}/usr/lib/plexmediaserver/Plex Media Scanner"
-)
-
src_install() {
# Remove Debian specific files
rm -r "usr/share/doc" || die
@@ -67,6 +62,11 @@ src_install() {
systemd_newunit "${ED}"/usr/lib/plexmediaserver/lib/plexmediaserver.service "${PN}.service"
# Add pax markings to some binaries so that they work on hardened setup
+ BINS_TO_PAX_MARK=(
+ "${ED}/usr/lib/plexmediaserver/Plex Script Host"
+ "${ED}/usr/lib/plexmediaserver/Plex Media Scanner"
+ )
+
local f
for f in "${BINS_TO_PAX_MARK[@]}"; do
pax-mark m "${f}"