diff --git a/distros/ubuntu1604/zoneminder.postinst b/distros/ubuntu1604/zoneminder.postinst index fa634d11d..ae362a495 100644 --- a/distros/ubuntu1604/zoneminder.postinst +++ b/distros/ubuntu1604/zoneminder.postinst @@ -68,7 +68,7 @@ if [ "$1" = "configure" ]; then echo "Updating permissions for user ${ZM_DB_USER}@localhost" echo "GRANT LOCK TABLES,ALTER,DROP,SELECT,INSERT,UPDATE,DELETE,CREATE,INDEX,ALTER ROUTINE,CREATE ROUTINE, TRIGGER,EXECUTE,REFERENCES ON ${ZM_DB_NAME}.* TO '${ZM_DB_USER}'@localhost;" | mysql --defaults-file=/etc/mysql/debian.cnf mysql - zmupdate.pl --nointeractive + zmupdate.pl -s --nointeractive if [ $? -ne 0 ]; then echo "Error updating db." exit 1; diff --git a/distros/ubuntu2004/zoneminder.postinst b/distros/ubuntu2004/zoneminder.postinst index 8e415bc86..4be136a71 100644 --- a/distros/ubuntu2004/zoneminder.postinst +++ b/distros/ubuntu2004/zoneminder.postinst @@ -31,7 +31,7 @@ create_update_user () { update_db () { - zmupdate.pl --nointeractive + zmupdate.pl -s --nointeractive if [ $? -ne 0 ]; then echo "Error updating db." exit 1;