diff options
author | Jonathan Vasquez <fearedbliss@gentoo.org> | 2017-03-04 20:58:07 -0500 |
---|---|---|
committer | Jonathan Vasquez <fearedbliss@gentoo.org> | 2017-03-04 20:58:31 -0500 |
commit | eac3c312380e222b9619c72bb9c50ba48ad28231 (patch) | |
tree | 5af6e110ecd88dc2b7b3885f4635ddb8ee668905 /media-tv/plex-media-server/files | |
parent | media-tv/plex-media-server: stabilizing 1.3.4-r1 (diff) | |
download | gentoo-eac3c312380e222b9619c72bb9c50ba48ad28231.tar.gz gentoo-eac3c312380e222b9619c72bb9c50ba48ad28231.tar.bz2 gentoo-eac3c312380e222b9619c72bb9c50ba48ad28231.zip |
media-tv/plex-media-server: version bump to 1.4.3
Package-Manager: Portage-2.3.4, Repoman-2.3.2
Diffstat (limited to 'media-tv/plex-media-server/files')
-rw-r--r-- | media-tv/plex-media-server/files/virtualenv_start_pms.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/media-tv/plex-media-server/files/virtualenv_start_pms.patch b/media-tv/plex-media-server/files/virtualenv_start_pms.patch new file mode 100644 index 000000000000..bb4d575240b3 --- /dev/null +++ b/media-tv/plex-media-server/files/virtualenv_start_pms.patch @@ -0,0 +1,23 @@ +--- a/usr/sbin/start_pms 2017-03-01 13:35:28.340489280 -0500 ++++ b/usr/sbin/start_pms 2017-03-01 13:36:05.574540305 -0500 +@@ -8,16 +8,20 @@ + export PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR="${HOME}/Library/Application Support" + if [ -f /etc/default/locale ]; then + export LANG="`cat /etc/default/locale|awk -F '=' '/LANG=/{print $2}'|sed 's/"//g'`" + export LC_ALL="$LANG" + fi + + test -f /etc/default/plexmediaserver && . /etc/default/plexmediaserver + ++# Activate python virtualenv ++. "${PLEX_MEDIA_SERVER_HOME}"/Resources/Python/bin/activate ++ ++ + if [ ! -d "$PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR" ] + then + mkdir -p "$PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR" + if [ ! $? -eq 0 ] + then + echo "WARNING COULDN'T CREATE $PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR, MAKE SURE I HAVE PERMISSON TO DO THAT!" + exit 1 + fi |