[Clamav] Remove duplicate chown
This commit is contained in:
parent
a520293461
commit
9a90647709
@ -16,7 +16,6 @@ chmod g+rw /dev/console
|
|||||||
# Prepare whitelist
|
# Prepare whitelist
|
||||||
if [[ -s /etc/clamav/whitelist.ign2 ]]; then
|
if [[ -s /etc/clamav/whitelist.ign2 ]]; then
|
||||||
cp /etc/clamav/whitelist.ign2 /var/lib/clamav/whitelist.ign2
|
cp /etc/clamav/whitelist.ign2 /var/lib/clamav/whitelist.ign2
|
||||||
chown clamav:clamav /var/lib/clamav/whitelist.ign2
|
|
||||||
fi
|
fi
|
||||||
if [[ ! -f /var/lib/clamav/whitelist.ign2 ]]; then
|
if [[ ! -f /var/lib/clamav/whitelist.ign2 ]]; then
|
||||||
echo "Example-Signature.Ignore-1" > /var/lib/clamav/whitelist.ign2
|
echo "Example-Signature.Ignore-1" > /var/lib/clamav/whitelist.ign2
|
||||||
|
Loading…
Reference in New Issue
Block a user