megacoffee.net Gentoo overlay - legacy mirror
We have moved to Git. This repository is only provided for compatibility with old installations. Learn how to migrate your installation here.
annotate media-tv/emby-server/emby-server-3.2.19.0.ebuild @ 209:e4c117d62d99
hopefully fixed cert-sync problem on systems where no prior sync has happened
author | gsnerf <gsnerf@gsnerf.de> |
---|---|
date | Mon, 05 Jun 2017 16:32:04 +0200 |
parents | c1e2a1ea65b6 |
children |
rev | line source |
---|---|
207
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
1 # Copyright 1999-2015 Gentoo Foundation |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
2 # Distributed under the terms of the GNU General Public License v2 |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
3 # $Header: $ |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
4 |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
5 EAPI="5" |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
6 |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
7 inherit eutils user git-r3 |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
8 |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
9 DESCRIPTION="Emby Server (formerly known as MediaBrowser Server) is a software that indexes a lot of different kinds of media and allows for them to be retrieved and played through the DLNA protocol on any device capable of processing them." |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
10 HOMEPAGE="http://emby.media/" |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
11 KEYWORDS="-* ~arm ~amd64 ~x86" |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
12 SRC_URI="https://github.com/MediaBrowser/Emby/archive/${PV}.tar.gz" |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
13 SLOT="0" |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
14 LICENSE="GPL-2" |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
15 IUSE="" |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
16 RESTRICT="mirror test" |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
17 |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
18 RDEPEND=">=dev-lang/mono-4.6.0 |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
19 >=media-video/ffmpeg-2[vpx] |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
20 media-gfx/imagemagick[jpeg,jpeg2k,webp,png] |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
21 !media-tv/mediabrowser-server |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
22 >=dev-db/sqlite-3.0.0 |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
23 dev-dotnet/referenceassemblies-pcl" |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
24 DEPEND="app-arch/unzip ${RDEPEND}" |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
25 |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
26 INSTALL_DIR="/opt/emby-server" |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
27 DATA_DIR="/var/lib/emby-server" |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
28 STARTUP_LOG="/var/log/emby-server_start.log" |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
29 INIT_SCRIPT="${ROOT}/etc/init.d/emby-server" |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
30 |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
31 # INSTALL |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
32 # ####################################################################################################### |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
33 |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
34 pkg_setup() { |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
35 einfo "creating user for Emby" |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
36 enewgroup emby |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
37 enewuser emby -1 /bin/bash ${INSTALL_DIR} "emby" |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
38 } |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
39 |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
40 # gentoo expects a specific subfolder in the working directory for the extracted source, so simply extracting won't work here |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
41 src_unpack() { |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
42 unpack ${A} |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
43 mv Emby-${PV} emby-server-${PV} |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
44 } |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
45 |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
46 src_prepare() { |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
47 # the user can define the quality of the imagemagic himself, here we try to figure out the correct files to use in our configuration |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
48 MAGICKWAND=$(ldconfig -p | grep MagickWand.*.so$ | cut -d" " -f4) |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
49 MAGICKWAND=${MAGICKWAND##*/} |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
50 einfo "adapting to imagemagick library to: ${MAGICKWAND}" |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
51 sed -i -e "s/\"libMagickWand-6.Q8.so\"/\"${MAGICKWAND}\"/" MediaBrowser.Server.Mono/ImageMagickSharp.dll.config || die "could not update libMagickWand reference!" |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
52 } |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
53 |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
54 |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
55 src_compile() { |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
56 einfo "updating root certificates for mono certificate store" |
209
e4c117d62d99
hopefully fixed cert-sync problem on systems where no prior sync has happened
gsnerf <gsnerf@gsnerf.de>
parents:
207
diff
changeset
|
57 addwrite "/usr/share/.mono/keypairs" |
207
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
58 cert-sync /etc/ssl/certs/ca-certificates.crt |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
59 einfo "compiling" |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
60 xbuild /p:Configuration="Release Mono" /p:Platform="Any CPU" MediaBrowser.sln || die "building failed" |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
61 } |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
62 |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
63 src_install() { |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
64 einfo "preparing startup scripts" |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
65 newinitd "${FILESDIR}"/emby-server.init_3 ${PN} |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
66 newconfd "${FILESDIR}"/emby-server.conf ${PN} |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
67 |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
68 einfo "preparing startup log file" |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
69 dodir /var/log/ |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
70 touch ${D}${STARTUP_LOG} |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
71 chown emby:emby ${D}${STARTUP_LOG} |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
72 |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
73 einfo "installing compiled files" |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
74 diropts -oemby -gemby |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
75 dodir ${INSTALL_DIR} |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
76 cp -R ${S}/MediaBrowser.Server.Mono/bin/Release/* ${D}${INSTALL_DIR}/ || die "install failed, possibly compile did not succeed earlier?" |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
77 chown emby:emby -R ${D}${INSTALL_DIR} |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
78 |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
79 einfo "prepare data directory" |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
80 dodir ${DATA_DIR} |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
81 } |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
82 |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
83 pkg_postinst() { |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
84 einfo "emby-server was installed to ${INSTALL_DIR}, to start please use the init script provided." |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
85 einfo "All data generated and used by Emby can be found at ${DATA_DIR} after the first start." |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
86 einfo "" |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
87 |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
88 if [[ -d "/usr/lib/mediabrowser-server" || -h "/usr/lib/mediabrowser-server" ]]; then |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
89 ewarn "ATTENTION: You seem to have moved from the former mediabrowser-server package:" |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
90 ewarn "don't forget to migrate your original data directory before the first start!" |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
91 ewarn "To do that move" |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
92 ewarn " /usr/lib/mediabrowser-server" |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
93 ewarn "to" |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
94 ewarn " ${DATA_DIR}" |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
95 ewarn "and change owner status from mediabrowser:mediabrowser to emby:emby!" |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
96 ewarn " chown -R emby:emby ${DATA_DIR}" |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
97 fi |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
98 |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
99 if [[ -d "/usr/lib/emby-server" || -h "/usr/lib/emby-server" ]]; then |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
100 ewarn "ATTENTION: You seem to have existing program data at /usr/lib/emby-server!" |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
101 ewarn "Please move that folder to ${DATA_DIR} before the first start and make sure the folder is owned by emby:emby" |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
102 ewarn "The folder /usr/lib/emby-server will be repurposed in one of the next releases, so make sure to clean that directory up!" |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
103 fi |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
104 } |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
105 |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
106 # UNINSTALL |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
107 # ####################################################################################################### |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
108 |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
109 pkg_prerm() { |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
110 einfo "Stopping running instances of Emby Server" |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
111 if [ -e "${INIT_SCRIPT}" ]; then |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
112 ${INIT_SCRIPT} stop |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
113 fi |
c1e2a1ea65b6
updated emby-server to new version using the new solution, also switched from mozroots to cert-sync
gsnerf <gsnerf@gsnerf.de>
parents:
diff
changeset
|
114 } |