#!/bin/sh set -e # If rsyslog was used previously, it wrote in a /var/log/syslog file. # Metalog is going to use this path for a /var/log/syslog/ directory, # both can not exist at the same time. if [ -f /var/log/syslog ]; then mv /var/log/syslog /var/log/syslog.diverted-by-metalog.$(date +%F) fi # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0