* use printf instead of echo -n
* remove dyanmically created directories
Closes: https://bugs.gentoo.org/651296
Package-Manager: Portage-2.3.24, Repoman-2.3.6
if [ "${shutdown_type}" = "shutdown" ]; then
counter=$((${counter} - 1))
fi
- echo -n "."
+ printf "."
done
if [ "${shutdown_type}" = "shutdown" ]; then
# Remove bogus, empty directories. They are either not used, or
# libvirtd is able to create them on demand
rm -rf "${D}"/etc/sysconfig
- rm -rf "${D}"/var/cache
- rm -rf "${D}"/var/run
- rm -rf "${D}"/var/log
+ rm -rf "${D}"/var
use libvirtd || return 0
# From here, only libvirtd-related instructions, be warned!