1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 11:15:13 +03:00
aports/community/clamav/clamav-db.pre-upgrade
2021-04-25 10:33:36 +00:00

11 lines
203 B
Bash

#!/bin/sh
# make sure we don't lose our config
mkdir -p /etc/clamav
if [ -f /etc/freshclam.conf ]; then
mv /etc/freshclam.conf /etc/clamav/
ln -s clamav/freshclam.conf /etc/freshclam.conf
fi
exit 0