diff options
author | Stu Miller <slackbuilds@go4it2day.com> | 2020-06-05 10:21:42 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-06-06 10:07:49 +0700 |
commit | d351ab6534f83fe1983ead86f7ffc388d7d40f3d (patch) | |
tree | 58896a23e4ec7137ba0b7329f9f27448f4f0c019 /multimedia | |
parent | 005b153861f2dce53d585e2ebd770fa14e0e28c5 (diff) |
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>
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/plexmediaserver/doinst.sh | 18 | ||||
-rw-r--r-- | multimedia/plexmediaserver/plexmediaserver.SlackBuild | 2 | ||||
-rw-r--r-- | multimedia/plexmediaserver/plexmediaserver.info | 10 |
3 files changed, 17 insertions, 13 deletions
diff --git a/multimedia/plexmediaserver/doinst.sh b/multimedia/plexmediaserver/doinst.sh index aea0ab5aa961..b295ab1144ca 100644 --- a/multimedia/plexmediaserver/doinst.sh +++ b/multimedia/plexmediaserver/doinst.sh @@ -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 diff --git a/multimedia/plexmediaserver/plexmediaserver.SlackBuild b/multimedia/plexmediaserver/plexmediaserver.SlackBuild index 3b19699f4911..12f58069c6f0 100644 --- a/multimedia/plexmediaserver/plexmediaserver.SlackBuild +++ b/multimedia/plexmediaserver/plexmediaserver.SlackBuild @@ -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} diff --git a/multimedia/plexmediaserver/plexmediaserver.info b/multimedia/plexmediaserver/plexmediaserver.info index 6a7af82306d4..267235bd3bd8 100644 --- a/multimedia/plexmediaserver/plexmediaserver.info +++ b/multimedia/plexmediaserver/plexmediaserver.info @@ -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" |