www-apps/pleroma-installer: Move installation dir warning to src_prepare
the build was successful Details

Package-Manager: Portage-2.3.51, Repoman-2.3.11
Manifest-Sign-Key: 3555266864CA6D7FF45AA6E7CFC39497F1B26E07
This commit is contained in:
tastytea 2019-02-10 21:32:08 +01:00
parent c4ff05dabb
commit 7941b3871a
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
2 changed files with 8 additions and 8 deletions

View File

@ -3,12 +3,12 @@ Hash: SHA256
AUX install_pleroma.sh 1219 BLAKE2B d97ea44cd608ff0528134093f17bbea2aada5ed57ad69444a7847a924a4b4368055116ff8cf46b2ba7c423c6adc0adedb5179e1f9729cb28f6b2bbd495daab25 SHA512 f4c24ac6547924787f7ef033d75748f4e30657ff1d84aaaffdeb40f17f21adaaa581335e894bbb0009b119a759637af00ed9cd4667dfcdeac886916c5c08b017 AUX install_pleroma.sh 1219 BLAKE2B d97ea44cd608ff0528134093f17bbea2aada5ed57ad69444a7847a924a4b4368055116ff8cf46b2ba7c423c6adc0adedb5179e1f9729cb28f6b2bbd495daab25 SHA512 f4c24ac6547924787f7ef033d75748f4e30657ff1d84aaaffdeb40f17f21adaaa581335e894bbb0009b119a759637af00ed9cd4667dfcdeac886916c5c08b017
AUX upgrade_pleroma.sh 791 BLAKE2B 3123e3bcc06bab422a554eeb9c5da6b100107125d16e9a661c90b1c09d1f4b8fd5cbdc743ed521db0ba7593a4967bd384695834d1951fa84ca2dd802773e31c1 SHA512 d08ffce3cfeba971022c0e1f9a08daffc10e60fa8d7920d99a840bbe7744d487d064e9d641f57ff89db77ba9c5fe0fd51999cce112ef7e8a2c1a5bf5a8c021ad AUX upgrade_pleroma.sh 791 BLAKE2B 3123e3bcc06bab422a554eeb9c5da6b100107125d16e9a661c90b1c09d1f4b8fd5cbdc743ed521db0ba7593a4967bd384695834d1951fa84ca2dd802773e31c1 SHA512 d08ffce3cfeba971022c0e1f9a08daffc10e60fa8d7920d99a840bbe7744d487d064e9d641f57ff89db77ba9c5fe0fd51999cce112ef7e8a2c1a5bf5a8c021ad
EBUILD pleroma-installer-4.ebuild 2395 BLAKE2B cd7060543ce71321dba16c497cff175449590ca3bb05229f29fd1e6937b95eb39bb49bf9eb6fe404922fee41dfaff7b091e0ee26f97fdd2112de03ba725e8032 SHA512 aca4f1a4cfcf71fb665df6ec41719159485e03ecb813af35794526d45d03f84673c47ddc96833cff281993eb800b1a03ed2e020b239ed327d7fa9b394584170f EBUILD pleroma-installer-4.ebuild 2425 BLAKE2B 14cb39c951d34a4c3fc01b11b5cb2ce06724dd1886877af7ca666ce782b5c0aab51b3b9c9b6f72538ce6cc920a4ae6acaf3ed1598d2d980ecac33f6447719d5e SHA512 2a6bff8b5b5eb6fb4985f2cb55e2f857dd6ce4d8a30e6310e900675c0a44555d41929cb55418ef122ed3567958d0a00ca6ba199eea9e5eb6fa7dd3392e8f83cc
MISC metadata.xml 993 BLAKE2B adc5c72fe12b6fdb4eb20c1d79dde227b088b437ffd21d16cc5775fa5bb7fa6363890dd5017fbe7f5a00a794a38fb298ce17e6402f6d3d5441985effd0d7e1db SHA512 6ff23fa60c0f22ef7a433e3d1b4919d074508898504b7168c925da8840f542afcdc891a9f4df69dc8eb6c44b7d9c41e6b94fdecd404ca738169124bcdab0af0d MISC metadata.xml 993 BLAKE2B adc5c72fe12b6fdb4eb20c1d79dde227b088b437ffd21d16cc5775fa5bb7fa6363890dd5017fbe7f5a00a794a38fb298ce17e6402f6d3d5441985effd0d7e1db SHA512 6ff23fa60c0f22ef7a433e3d1b4919d074508898504b7168c925da8840f542afcdc891a9f4df69dc8eb6c44b7d9c41e6b94fdecd404ca738169124bcdab0af0d
-----BEGIN PGP SIGNATURE----- -----BEGIN PGP SIGNATURE-----
iHUEAREIAB0WIQQ1VSZoZMptf/RapufPw5SX8bJuBwUCXGCGdwAKCRDPw5SX8bJu iHUEAREIAB0WIQQ1VSZoZMptf/RapufPw5SX8bJuBwUCXGCKSAAKCRDPw5SX8bJu
ByWsAP9wyrIUNrQdI1FGkiRoRBuHB8yr9oTH7XMDUtc0ACSyNAD+Ld472uC+DTj6 B+8DAP4zOWRhF3wDNkNy2FQvFW4avQGj7FzgS4BMm39ikJua0wD9GLUZyj3ybJ6/
TZVn+mQ113B/Uw3omCTLFfQjTefgvuY= 5qy/SSHh5MysQrxn0jJ3cCdqhGp5KAw=
=SIam =q4wy
-----END PGP SIGNATURE----- -----END PGP SIGNATURE-----

View File

@ -41,6 +41,9 @@ src_prepare() {
sed -i 's|/etc/init.d/pleroma stop|systemctl stop pleroma|' "${FILESDIR}/upgrade_pleroma.sh" || die sed -i 's|/etc/init.d/pleroma stop|systemctl stop pleroma|' "${FILESDIR}/upgrade_pleroma.sh" || die
sed -i 's|/etc/init.d/pleroma restart|systemctl restart pleroma|' "${FILESDIR}/upgrade_pleroma.sh" || die sed -i 's|/etc/init.d/pleroma restart|systemctl restart pleroma|' "${FILESDIR}/upgrade_pleroma.sh" || die
fi fi
ewarn "Beginning with 2019-02-10, the Pleroma init scripts expect the installation in ${EPREFIX}/opt/pleroma."
ewarn "If it is in ${EPREFIX}/var/lib/pleroma, this ebuild will fail. Move it now and remerge."
} }
src_install() { src_install() {
@ -80,7 +83,4 @@ pkg_postinst() {
if use apache; then if use apache; then
einfo "An example config for apache has been installed in the doc directory." einfo "An example config for apache has been installed in the doc directory."
fi fi
ewarn "Beginning with 2019-02-10, the Pleroma init scripts expect the installation in ${EPREFIX}/opt/pleroma."
ewarn "If they are in ${EPREFIX}/var/lib/pleroma, move them now."
} }