mirror of
				https://github.com/bashclub/zamba-lxc-toolbox.git
				synced 2025-11-04 08:02:28 +01:00 
			
		
		
		
	fixed mailpiler script (latest version)
This commit is contained in:
		@@ -26,6 +26,9 @@ fi
 | 
			
		||||
wget -q https://packages.sury.org/php/apt.gpg -O- | apt-key add -
 | 
			
		||||
echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" | tee /etc/apt/sources.list.d/php.list
 | 
			
		||||
 | 
			
		||||
apt-key adv --fetch-keys 'https://mariadb.org/mariadb_release_signing_key.asc'
 | 
			
		||||
add-apt-repository 'deb [arch=amd64] https://mirror.wtnet.de/mariadb/repo/10.5/debian buster main'
 | 
			
		||||
 | 
			
		||||
apt update
 | 
			
		||||
 | 
			
		||||
DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt install -y -qq build-essential libwrap0-dev libpst-dev tnef libytnef0-dev \
 | 
			
		||||
@@ -59,6 +62,7 @@ chmod 755 /var/piler
 | 
			
		||||
if [[ "$PILER_VERSION" == "latest" ]]; then
 | 
			
		||||
        URL=$(curl -s https://www.mailpiler.org/wiki/download | grep "https://bitbucket.org/jsuto/piler/downloads/piler-" | cut -d '"' -f2)
 | 
			
		||||
        wget -O piler-$PILER_VERSION.tar.gz $URL
 | 
			
		||||
        PILER_VERSION=$(ls piler-* | cut -d'-' -f2 | cut -d'.' -f1-3)
 | 
			
		||||
else
 | 
			
		||||
        wget https://bitbucket.org/jsuto/piler/downloads/piler-$PILER_VERSION.tar.gz
 | 
			
		||||
fi
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user