wok-current rev 23171

updated mediawiki (1.32.0 -> 1.34.0)
author Hans-G?nter Theisgen
date Wed Mar 18 09:42:20 2020 +0100 (2020-03-18)
parents a72a832af45d
children 7a4832a50e06
files mediawiki/receipt
line diff
     1.1 --- a/mediawiki/receipt	Wed Mar 18 09:26:34 2020 +0100
     1.2 +++ b/mediawiki/receipt	Wed Mar 18 09:42:20 2020 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="mediawiki"
     1.7 -VERSION="1.32.0"
     1.8 +VERSION="1.34.0"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="MediaWiki engine."
    1.11  MAINTAINER="slaxemulator@gmail.com"
    1.12 @@ -19,21 +19,21 @@
    1.13  	mkdir -p $fs/usr/share/webapps
    1.14  	mkdir -p $fs/etc/webapps/mediawiki
    1.15  
    1.16 -	cp -a $src $fs/usr/share/webapps/mediawiki
    1.17 +	cp -a $src	$fs/usr/share/webapps/mediawiki
    1.18  #	sed -i -e 's#is_executable#is_file#' $fs/includes/Math.php
    1.19  	echo "deny from all" >> $fs/etc/webapps/mediawiki/.htaccess
    1.20  	ln -sf /etc/webapps/mediawiki/.htaccess $fs/usr/share/webapps/mediawiki/.htaccess
    1.21  
    1.22  	# move cache and images to /var
    1.23 -	install -vdm0755 -o www -g www $fs/var/cache/mediawiki
    1.24 -	install -vdm0755 -o www -g www $fs/var/lib/mediawiki
    1.25 +	install -vdm0755 -o www -g www	$fs/var/cache/mediawiki
    1.26 +	install -vdm0755 -o www -g www	$fs/var/lib/mediawiki
    1.27  	cd $fs/usr/share/webapps/mediawiki
    1.28 -	mv cache/.htaccess $fs/var/cache/mediawiki
    1.29 +	mv cache/.htaccess		$fs/var/cache/mediawiki
    1.30  	rmdir cache
    1.31  	ln -sf /var/cache/mediawiki cache
    1.32  	
    1.33 -	mv images/* $fs/var/lib/mediawiki
    1.34 -	mv images/.htaccess $fs/var/lib/mediawiki
    1.35 +	mv images/*			$fs/var/lib/mediawiki
    1.36 +	mv images/.htaccess		$fs/var/lib/mediawiki
    1.37  	rmdir images
    1.38  	ln -sf /var/lib/mediawiki images
    1.39  }