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() { sit_copy_logs() {
if [ ! -z $LOGDIR ] ; then if [ ! -z $LOGDIR ] ; then
cd $LOGDIR cd $LOGDIR
bzip2 *.log bzip2 -f *.log
cp $LOGDIR/*.bz2 $PREFIX cp -f $LOGDIR/*.bz2 $PREFIX
fi fi
} }