Update postinst

This commit is contained in:
myvesta 2019-07-18 15:28:39 +02:00 committed by GitHub
commit f30c41240a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,35 +5,9 @@ if [ ! -e "/usr/local/vesta/data/users/admin" ]; then
exit exit
fi fi
# Run SUDO trigger # Run triggers
if [ -x "/usr/local/vesta/upd/add_sudo.sh" ]; then # if [ -x "/usr/local/vesta/upd/sonething.sh" ]; then
/usr/local/vesta/upd/add_sudo.sh # /usr/local/vesta/upd/something.sh
fi # fi
# Run Notification trigger
if [ -x "/usr/local/vesta/upd/add_notifications.sh" ]; then
/usr/local/vesta/upd/add_notifications.sh
fi
# Run session save path trigger
if [ -x "/usr/local/vesta/upd/fix_sessions.sh" ]; then
/usr/local/vesta/upd/fix_sessions.sh
fi
if [ -x /usr/local/vesta/upd/fix_nginx_auth.sh ]; then
/usr/local/vesta/upd/fix_nginx_auth.sh
fi
if [ -x /usr/local/vesta/upd/fix_roundcube.sh ]; then
/usr/local/vesta/upd/fix_roundcube.sh
fi
if [ -x /usr/local/vesta/upd/limit_sudo.sh ]; then
/usr/local/vesta/upd/limit_sudo.sh
fi
if [ -x /usr/local/vesta/upd/fix_dhcprenew.sh ]; then
/usr/local/vesta/upd/fix_dhcprenew.sh
fi
exit 0 exit 0