multimedia/plexmediaserver: Updated for v 1.19.4.2902_69560ce1e.

Signed-off-by: Dave Woodfall <dave@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Stu Miller 2020-06-05 10:21:42 +01:00 committed by Willy Sudiarto Raharjo
parent 005b153861
commit d351ab6534
No known key found for this signature in database
GPG key ID: 3F617144D7238786
3 changed files with 17 additions and 13 deletions

View file

@ -11,14 +11,18 @@ config() {
# Otherwise, we leave the .new copy for the admin to consider...
}
# Keep same perms on rc.plexmediaserver.new:
if [ -e etc/rc.d/rc.plexmediaserver ]; then
cp -a etc/rc.d/rc.plexmediaserver etc/rc.d/rc.plexmediaserver.new.incoming
cat etc/rc.d/rc.plexmediaserver.new > etc/rc.d/rc.plexmediaserver.new.incoming
mv etc/rc.d/rc.plexmediaserver.new.incoming etc/rc.d/rc.plexmediaserver.new
fi
preserve_perms() {
NEW="$1"
OLD="$(dirname $NEW)/$(basename $NEW .new)"
if [ -e $OLD ]; then
cp -a $OLD ${NEW}.incoming
cat $NEW > ${NEW}.incoming
mv ${NEW}.incoming $NEW
fi
config $NEW
}
config etc/rc.d/rc.plexmediaserver.new
preserve_perms etc/rc.d/rc.plexmediaserver.new
config etc/default/plexmediaserver.new
if [ -x /usr/bin/update-desktop-database ]; then

View file

@ -28,7 +28,7 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=plexmediaserver
VERSION=${VERSION:-1.19.3.2852_219a9974e}
VERSION=${VERSION:-1.19.4.2902_69560ce1e}
PKG_VERSION=$(echo $VERSION | tr _ -)
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}

View file

@ -1,10 +1,10 @@
PRGNAM="plexmediaserver"
VERSION="1.19.3.2852_219a9974e"
VERSION="1.19.4.2902_69560ce1e"
HOMEPAGE="https://plex.tv/"
DOWNLOAD="https://downloads.plex.tv/plex-media-server-new/1.19.3.2852-219a9974e/debian/plexmediaserver_1.19.3.2852-219a9974e_i386.deb"
MD5SUM="3d69c26cf529ed385d9b571d9a99c33e"
DOWNLOAD_x86_64="https://downloads.plex.tv/plex-media-server-new/1.19.3.2852-219a9974e/debian/plexmediaserver_1.19.3.2852-219a9974e_amd64.deb"
MD5SUM_x86_64="87b30c3a83f98df4a5cdefe3394c9bb3"
DOWNLOAD="https://downloads.plex.tv/plex-media-server-new/1.19.4.2902-69560ce1e/debian/plexmediaserver_1.19.4.2902-69560ce1e_i386.deb"
MD5SUM="1823cc9f66a22cf14cbbc22ac52749ed"
DOWNLOAD_x86_64="https://downloads.plex.tv/plex-media-server-new/1.19.4.2902-69560ce1e/debian/plexmediaserver_1.19.4.2902-69560ce1e_amd64.deb"
MD5SUM_x86_64="8010af4560864e223b8fb732f9f58a71"
REQUIRES=""
MAINTAINER="Stu Miller"
EMAIL="slackbuilds@go4it2day.com"