... | ... |
@@ -398,10 +398,14 @@ while xmlgetnext; do |
398 | 398 |
'/logentry') |
399 | 399 |
for item in ${revpath[D]}; do |
400 | 400 |
path=(${item//\// }) |
401 |
- [[ "${path[3]}" =~ "-set.xml" ]] && unset setxmlmodified[${path[2]}/${path[3]/-set.xml}] |
|
401 |
+ if [[ "${path[3]}" =~ "-set.xml" ]]; then |
|
402 |
+ unset setxmlmodified[${path[2]}/${path[3]/-set.xml}] |
|
403 |
+ sqlite_request "delete from setxml where file = '${path[3]/-set.xml}'" |
|
404 |
+ fi |
|
402 | 405 |
files[_${path[2]}]=$(( --files[_${path[2]}] )) |
403 | 406 |
if test ${files[_${path[2]}]} -le 0; then |
404 | 407 |
unset revindex[_${path[2]}] revauthor[_${path[2]}] revdate[_${path[2]}] |
408 |
+ sqlite_request "delete from aircrafts where name = '${path[2]}'" |
|
405 | 409 |
fi |
406 | 410 |
done |
407 | 411 |
for action in A M R; do |