[db_update] Now added tracks are unselected by default.
This commit is contained in:
parent
7acf7f5d99
commit
5fc92f1620
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ db_update() {
|
|||
fi
|
||||
for trackid in ${trackidList[@]}; do
|
||||
if [[ -z $(awk -v imageid="${IMAGEID}" -v trackid="${trackid}" 'BEGIN{FS="\t"}{if($2==imageid && $3==trackid){print $0}}' ${DB_FILE}) ]]; then
|
||||
echo -e "true\t${IMAGEID}\t${trackid}\tnull" >> ${DB_FILE}
|
||||
echo -e "false\t${IMAGEID}\t${trackid}\tnull" >> ${DB_FILE}
|
||||
fi
|
||||
done
|
||||
return 0
|
||||
|
|
Loading…
Reference in a new issue