#!/bin/bash
#
# post install fixes (release independent)

. ${TOOLKIT}-functions.sh

set -e	# exit on errors


# remove IDIOTIC debian/ubuntu stuffs about syslog (see desc.txt)
#
is_installed sysklogd && {	# gone since 9.10
	file=/etc/cron.daily/sysklogd
	[ -f $file ] && {
		echo "  removing $file"
		rm -f $file
	}
	# just to be safe ...
	#
	dir=/usr/share/sysklogd
	[ -d $dir -a ! -f $dir/dummy ] && {
		cp /dev/null $dir/dummy
	}
}

# needs to exit with proper status!
exit 0
