Updated init.sh

This commit is contained in:
grez911
2017-02-05 18:42:14 +03:00
parent bf563321b3
commit f876c1c3cd

View File

@@ -76,12 +76,12 @@ echo
echo echo
echo "Moving files..." echo "Moving files..."
echo echo
mv /tmp/mlmmj-light-web-master/misc/move/exim4.conf /etc/exim4/ mv /tmp/mlmmj-light-web-master/misc/move/exim4.conf /etc/exim4
mv /tmp/mlmmj-light-web-master/misc/move/exim4.filter /etc/exim4/ mv /tmp/mlmmj-light-web-master/misc/move/exim4.filter /etc/exim4
mv /tmp/mlmmj-light-web-master/misc/move/mlmmj-footer-receive /usr/bin/ mv /tmp/mlmmj-light-web-master/misc/move/mlmmj-footer-receive /usr/bin
echo
echo "Unpacking templates..." echo "Unpacking templates..."
tar xzvf /tmp/mlmmj-light-web-master/misc/templates.tar.gz echo
tar xzvf /tmp/mlmmj-light-web-master/misc/templates.tar.gz -C /tmp/mlmmj-light-web-master/misc
rm /tmp/mlmmj-light-web-master/misc/templates.tar.gz rm /tmp/mlmmj-light-web-master/misc/templates.tar.gz
echo echo
echo "Compiling foot_filter..." echo "Compiling foot_filter..."
@@ -90,11 +90,11 @@ make -C /tmp/mlmmj-light-web-master/misc/move/foot_filter
echo echo
echo "Moving files..." echo "Moving files..."
echo echo
mv /tmp/mlmmj-light-web-master/misc/move/foot_filter/foot_filter /usr/bin/ mv /tmp/mlmmj-light-web-master/misc/move/foot_filter/foot_filter /usr/bin
rm -rf /tmp/mlmmj-light-web-master/misc/move rm -rf /tmp/mlmmj-light-web-master/misc/move
rm -rf /tmp/mlmmj-light-web-master/misc/init.sh rm -rf /tmp/mlmmj-light-web-master/misc/init.sh
rm -rf /var/www/html/* rm -rf /var/www/html/*
cp -rp /tmp/mlmmj-light-web-master/* /var/www/html/ cp -rp /tmp/mlmmj-light-web-master/* /var/www/html
echo "Removing all nstallation files..." echo "Removing all nstallation files..."
echo echo
rm -rf /tmp/mlmmj-light-web-master rm -rf /tmp/mlmmj-light-web-master