summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2023-09-29 08:43:15 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2023-09-29 08:43:33 +0200
commitc24263bda58c554326c0671286175874592c27b6 (patch)
tree2c0265375010cb78dffdde68ce9c430e0bffa1f7 /www-apps/mediawiki
parentdev-ruby/elasticsearch: add 7.17.9 (diff)
downloadgentoo-c24263bda58c554326c0671286175874592c27b6.tar.gz
gentoo-c24263bda58c554326c0671286175874592c27b6.tar.bz2
gentoo-c24263bda58c554326c0671286175874592c27b6.zip
www-apps/mediawiki: fixed removal of files
Closes: https://bugs.gentoo.org/913416 Closes: https://bugs.gentoo.org/913417 Closes: https://bugs.gentoo.org/913418 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'www-apps/mediawiki')
-rw-r--r--www-apps/mediawiki/mediawiki-1.39.4-r1.ebuild (renamed from www-apps/mediawiki/mediawiki-1.39.4.ebuild)8
-rw-r--r--www-apps/mediawiki/mediawiki-1.40.0-r1.ebuild (renamed from www-apps/mediawiki/mediawiki-1.40.0.ebuild)10
2 files changed, 14 insertions, 4 deletions
diff --git a/www-apps/mediawiki/mediawiki-1.39.4.ebuild b/www-apps/mediawiki/mediawiki-1.39.4-r1.ebuild
index 84b2ab5eeb78..1c2f607e938e 100644
--- a/www-apps/mediawiki/mediawiki-1.39.4.ebuild
+++ b/www-apps/mediawiki/mediawiki-1.39.4-r1.ebuild
@@ -33,7 +33,7 @@ src_unpack() {
default
# remove lua binaries (bug #631554)
- rm -fr "${S}"/extensions/Scribunto/includes/engines/LuaStandalone/binaries || die "Failed to remove lua binaries"
+ rm -r "${S}"/extensions/Scribunto/includes/engines/LuaStandalone/binaries || die "Failed to remove lua binaries"
}
src_install() {
@@ -49,7 +49,7 @@ src_install() {
docinto databases
dodoc docs/databases/*
# Clean everything not used at the site...
- rm -rf ${DOCS} COPYING tests docs || die
+ rm -r ${DOCS} COPYING tests docs || die
find . -name Makefile -delete || die
# and install
insinto "${MY_HTDOCSDIR}"
@@ -78,6 +78,10 @@ pkg_postinst() {
elog "These detail bug fixes, new features and functionality, and any"
elog "particular points that may need to be noted during the upgrade procedure."
echo
+ elog "If you plan to use the Scribunto extension with Lua, make sure to configure"
+ elog "path to Lua executable using this documentation:"
+ elog "https://www.mediawiki.org/wiki/Extension:Scribunto#Lua_binary"
+ echo
ewarn "Back up existing files and the database before upgrade."
ewarn "http://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki"
ewarn "provides an overview of the backup process."
diff --git a/www-apps/mediawiki/mediawiki-1.40.0.ebuild b/www-apps/mediawiki/mediawiki-1.40.0-r1.ebuild
index 84b2ab5eeb78..d8047a894f10 100644
--- a/www-apps/mediawiki/mediawiki-1.40.0.ebuild
+++ b/www-apps/mediawiki/mediawiki-1.40.0-r1.ebuild
@@ -33,7 +33,7 @@ src_unpack() {
default
# remove lua binaries (bug #631554)
- rm -fr "${S}"/extensions/Scribunto/includes/engines/LuaStandalone/binaries || die "Failed to remove lua binaries"
+ rm -r "${S}"/extensions/Scribunto/includes/Engines/LuaStandalone/binaries || die "Failed to remove Lua binaries"
}
src_install() {
@@ -48,9 +48,11 @@ src_install() {
dodoc ${DOCS} docs/*.txt
docinto databases
dodoc docs/databases/*
+
# Clean everything not used at the site...
- rm -rf ${DOCS} COPYING tests docs || die
+ rm -r ${DOCS} COPYING tests docs || die
find . -name Makefile -delete || die
+
# and install
insinto "${MY_HTDOCSDIR}"
doins -r .
@@ -78,6 +80,10 @@ pkg_postinst() {
elog "These detail bug fixes, new features and functionality, and any"
elog "particular points that may need to be noted during the upgrade procedure."
echo
+ elog "If you plan to use the Scribunto extension with Lua, make sure to configure"
+ elog "path to Lua executable using this documentation:"
+ elog "https://www.mediawiki.org/wiki/Extension:Scribunto#Lua_binary"
+ echo
ewarn "Back up existing files and the database before upgrade."
ewarn "http://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki"
ewarn "provides an overview of the backup process."