Overwrite log files of installation if already present.

This commit is contained in:
Christoph Niethammer 2018-03-09 11:40:32 +00:00
parent 71d0d13852
commit b62bc4def5

View file

@ -138,8 +138,8 @@ sit_postinst() {
sit_copy_logs() {
if [ ! -z $LOGDIR ] ; then
cd $LOGDIR
bzip2 *.log
cp $LOGDIR/*.bz2 $PREFIX
bzip2 -f *.log
cp -f $LOGDIR/*.bz2 $PREFIX
fi
}