From bdb113d49a3471dbdab36368c7cd7fed9b095c1d Mon Sep 17 00:00:00 2001 From: tastytea Date: Sat, 23 Feb 2019 00:57:16 +0100 Subject: [PATCH] www-apps/pleroma-installer: Added hint to www-apps/pleroma. Package-Manager: Portage-2.3.51, Repoman-2.3.11 Manifest-Sign-Key: 3555266864CA6D7FF45AA6E7CFC39497F1B26E07 --- www-apps/pleroma-installer/Manifest | 10 +++++----- www-apps/pleroma-installer/pleroma-installer-4.ebuild | 10 +++++++--- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/www-apps/pleroma-installer/Manifest b/www-apps/pleroma-installer/Manifest index 245bbb9..2d2782e 100644 --- a/www-apps/pleroma-installer/Manifest +++ b/www-apps/pleroma-installer/Manifest @@ -3,12 +3,12 @@ Hash: SHA256 AUX install_pleroma.sh 1297 BLAKE2B efa93ff38d80202fcfe716a6fd4d3fc85882747acedd582fcafa03eafd6bf4d870f521525430c6c688fc13ae39da89ad8f3bc12c50a96b0e5e91e4cd5c5cb193 SHA512 a33fd3da78bd5c0db8e2dd92a8d7640b5bfab90b485d4d47f678b4ce1c86b92995c741a5aa9ab82dec4538469dc30d7cf6755691103a27057b3afabb2f42e1f2 AUX upgrade_pleroma.sh 791 BLAKE2B 3123e3bcc06bab422a554eeb9c5da6b100107125d16e9a661c90b1c09d1f4b8fd5cbdc743ed521db0ba7593a4967bd384695834d1951fa84ca2dd802773e31c1 SHA512 d08ffce3cfeba971022c0e1f9a08daffc10e60fa8d7920d99a840bbe7744d487d064e9d641f57ff89db77ba9c5fe0fd51999cce112ef7e8a2c1a5bf5a8c021ad -EBUILD pleroma-installer-4.ebuild 2438 BLAKE2B 1c8ecd968e3e85ba99c1737dd89a652b843081f59c71e7466221458c6b197bae2507d1e34efb2bba28b5de37518a3eaa511b495d0dce789068a691b53fa051af SHA512 2e86a31599c731cd06e546f4bc72b01cd168c1cb54e97180ee5a2e96976351f5565211a27813151083698544f035024c6d51011f4845c6884b3777be5f9a7fd9 +EBUILD pleroma-installer-4.ebuild 2614 BLAKE2B 429cc8e36e763aed3349b9d2496387cb503a6aba0d108fcf72a8eb50ebb5272fa5c5bf4bb0ef3144c85fc5e1792397f53a8fe427444ee99b65286a897c0a2a47 SHA512 251a8a4851cff0e565ab14b5c6999fe0208115e3337f04b550acc4dc61d9113e9182002c4fcb3103a91bb183818ea97a9601988c190b4b64d303ca75344b4609 MISC metadata.xml 993 BLAKE2B adc5c72fe12b6fdb4eb20c1d79dde227b088b437ffd21d16cc5775fa5bb7fa6363890dd5017fbe7f5a00a794a38fb298ce17e6402f6d3d5441985effd0d7e1db SHA512 6ff23fa60c0f22ef7a433e3d1b4919d074508898504b7168c925da8840f542afcdc891a9f4df69dc8eb6c44b7d9c41e6b94fdecd404ca738169124bcdab0af0d -----BEGIN PGP SIGNATURE----- -iHUEAREIAB0WIQQ1VSZoZMptf/RapufPw5SX8bJuBwUCXGOWEQAKCRDPw5SX8bJu -B9NqAP0fIzv33yKEdmKxj4Vntsc0+89I3PB0zC++TquITg2DzwD+LvlkM1Onhq8b -ifwUEuI2bGpahlLuXBewb8muZ6UzoTo= -=rg0F +iHUEAREIAB0WIQQ1VSZoZMptf/RapufPw5SX8bJuBwUCXHCMQAAKCRDPw5SX8bJu +B2G8AP0VieOVvfcF3Hzq7skQxsdtgrdB+pn0yZuBvFjq6EotMQEAi73fOjspbeoH +B+x73A8BrNRG2AUFfuvL5dk/ihPZrWA= +=Et+k -----END PGP SIGNATURE----- diff --git a/www-apps/pleroma-installer/pleroma-installer-4.ebuild b/www-apps/pleroma-installer/pleroma-installer-4.ebuild index a12ad26..0135f39 100644 --- a/www-apps/pleroma-installer/pleroma-installer-4.ebuild +++ b/www-apps/pleroma-installer/pleroma-installer-4.ebuild @@ -42,9 +42,6 @@ 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 restart|systemctl restart pleroma|' "${FILESDIR}/upgrade_pleroma.sh" || die 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() { @@ -74,6 +71,13 @@ src_install() { fi } +pkg_preinst() { + ewarn "This ebuild installs an installation script for the development-branch of Pleroma." + ewarn "If you want a stabler version, install www-apps/pleroma." + 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." +} + pkg_postinst() { elog 'For the initial installation, become the user pleroma, cd to ${HOME}/pleroma and run ./install_pleroma.sh.' elog "To upgrade, run ./upgrade_pleroma.sh."