Normalise JSON. Update todo
[PreCom.git] / cache-update-confirmation-adapter.sh
1 #!/bin/bash
2 #
3 # widget: msgbox
4 # description: Displays the number of updated simfiles
5
6 num=$(wc -l < /tmp/newsongs.txt)
7 #rm /tmp/newsongs.txt
8
9 if [[ $num -gt 0 ]]; then
10 echo "$num New/updated simfiles"
11 else
12 echo "No new/updated simfiles"
13 fi