Merge branch 'develop' into dist/eole/2.7.0/develop
This commit is contained in:
commit
09a8e23ba2
|
@ -11,6 +11,8 @@ script="$1"
|
|||
function clean_backups()
|
||||
{
|
||||
file=${1}
|
||||
ls ${file}_* > /dev/null 2>&1
|
||||
if [ $? = 0 ]; then
|
||||
bcks=($(ls ${file}_*))
|
||||
nbbck=$(expr ${#bcks[@]} - 2)
|
||||
|
||||
|
@ -23,6 +25,7 @@ function clean_backups()
|
|||
rm -f ${bcks[${idx}]}
|
||||
done
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
function updateDB()
|
||||
|
|
Loading…
Reference in New Issue