From b62bc4def53a5229eab583cf5f1ab36c15738150 Mon Sep 17 00:00:00 2001 From: Christoph Niethammer Date: Fri, 9 Mar 2018 11:40:32 +0000 Subject: [PATCH] Overwrite log files of installation if already present. --- functions.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions.sh b/functions.sh index 283c570..4e18aea 100644 --- a/functions.sh +++ b/functions.sh @@ -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 }