Update postinst

This commit is contained in:
dpeca 2019-11-07 21:02:08 +01:00 committed by GitHub
commit 2e6a660b59
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,4 +17,6 @@ if [ "$check_apt" -eq 1 ]; then
echo "deb http://apt.myvestacp.com/$codename/ $codename vesta" > /etc/apt/sources.list.d/vesta.list
fi
crontab -l | { cat; echo "10 2 * * 6 sudo find /home/*/tmp/ -type f -mtime +5 -exec rm {} \;"; } | crontab -
exit 0