Uninstalling Sieve

I was having issues with sieve not working (I was the problem) but I tried uninstalling using the installation script: /usr/local/hestia/install/upgrade/manual/install_sieve.sh (The manual is wrong, it not at /usr/local/hestia/install/manual/install_sieve.sh ( but that’s not the real issue, although it should be fixed)
When I tried the uninstall I got this:

/usr/local/hestia/install/upgrade/manual/install_sieve.sh
(Reading database ... 97503 files and directories currently installed.)
Removing dovecot-managesieved (1:2.3.4.1-5+deb10u6) ...
Removing dovecot-sieve (1:2.3.4.1-5+deb10u6) ...
Processing triggers for dovecot-core (1:2.3.4.1-5+deb10u6) ...
Processing triggers for man-db (2.8.5-2) ...
(Reading database ... 97465 files and directories currently installed.)
Purging configuration files for dovecot-sieve (1:2.3.4.1-5+deb10u6) ...
Purging configuration files for dovecot-managesieved (1:2.3.4.1-5+deb10u6) ...
**sed: -e expression #1, char 461: unterminated `s' command**

Sed is not my best friend but is this “s” in front of transport “stransport” supposed to be there in this statement:

sed -i "s/\stransport = dovecot_virtual_delivery/ transport = local_delivery/" /etc/exim4/exim4.conf.template

\s = whitespace

There is a bug in:

Thanks. I had a as feeling I was wrong.