mirror of
https://github.com/myvesta/vesta
synced 2025-08-21 05:44:08 -07:00
Update postinst
This commit is contained in:
parent
881d620cd6
commit
f30c41240a
1 changed files with 4 additions and 30 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue