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() {
|
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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue