Overwrite log files of installation if already present.
This commit is contained in:
parent
71d0d13852
commit
b62bc4def5
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue