[molecules] fix gforensic inner_chroot_script_after execution

This commit is contained in:
Fabio Erculiani
2010-09-28 08:24:51 +02:00
parent 93a90bc5d4
commit cf455d01d1
3 changed files with 7 additions and 38 deletions

View File

@@ -163,16 +163,13 @@ if [ -n "${SHIP_NVIDIA_LEGACY}" ]; then
fi
fi
# fix clamav shit if available
clamav_avail="$(equo match --installed app-antivirus/clamav -q)"
if [ -n "${clamav_avail}" ]; then
if [ ! -d "/var/log/clamav" ]; then
mkdir -p /var/log/clamav
chown clamav:clamav /var/log/clamav
fi
touch /var/log/clamav/freshclam.log
chown clamav:clamav /var/log/clamav -R
# fix clamav shit if available, mainly for Gforensic
if [ ! -d "/var/log/clamav" ]; then
mkdir -p /var/log/clamav
chown clamav:clamav /var/log/clamav
fi
touch /var/log/clamav/freshclam.log
chown clamav:clamav /var/log/clamav -R
# if Sabayon GNOME, drop qt-gui bins
gnome_panel=$(qlist -ICve gnome-base/gnome-panel)