From 52eeff1b6a818d4b3031788af7639e8830caa5af Mon Sep 17 00:00:00 2001 From: myvesta <38690722+myvesta@users.noreply.github.com> Date: Fri, 15 May 2020 19:44:34 +0200 Subject: [PATCH] fixed patch syntax for clamav sock --- install/vst-install-debian.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/vst-install-debian.sh b/install/vst-install-debian.sh index e29e1d84c..3ef544f0c 100644 --- a/install/vst-install-debian.sh +++ b/install/vst-install-debian.sh @@ -1220,7 +1220,7 @@ if [ "$clamd" = 'yes' ]; then if [ -e "/lib/systemd/system/clamav-daemon.service" ]; then exec_pre1='ExecStartPre=-/bin/mkdir -p /var/run/clamav' exec_pre2='ExecStartPre=-/bin/chown -R clamav:clamav /var/run/clamav' - sed -i "s|\[Service\]/|[Service]\n$exec_pre1\n$exec_pre2|g" /lib/systemd/system/clamav-daemon.service + sed -i "s|\[Service\]|[Service]\n$exec_pre1\n$exec_pre2|g" /lib/systemd/system/clamav-daemon.service systemctl daemon-reload fi service clamav-daemon start