Merge branch 'v2.0.1' of github.com:usmannasir/cyberpanel into v2.0.1

This commit is contained in:
Usman Nasir
2020-05-28 13:30:32 +05:00

View File

@@ -127,13 +127,8 @@ echo "/^Received:/ HOLD" >> /etc/postfix/header_checks
systemctl restart postfix
wget https://github.com/MailScanner/v5/archive/master.zip
unzip master.zip
cd /usr/local/CyberCP/CPScripts/v5-master/builds
if [ "$OS" = "NAME=\"Ubuntu\"" ];then
wget https://github.com/MailScanner/v5/releases/download/5.3.3-1/MailScanner-5.3.3-1.noarch.deb
dpkg -i *.noarch.deb
mkdir /var/run/MailScanner
@@ -144,7 +139,7 @@ chown -R postfix:postfix /var/lock/subsys/MailScanner
chown -R postfix:postfix /var/spool/MailScanner
elif [ "$OS" = "NAME=\"CentOS Linux\"" ];then
https://github.com/MailScanner/v5/releases/download/5.3.3-1/MailScanner-5.3.3-1.rhel.noarch.rpm
rpm -Uvh *.rhel.noarch.rpm
fi