list-rfs.sh: add a warning when a package has an RFS but the distro has been updated
Sylvestre Ledru
2 years ago
7 | 7 | continue |
8 | 8 | fi |
9 | 9 | echo -e "$(date -d@"$t") \e[32m$pkg\e[0m" |
10 | if ! head -1 $(dirname "$i")/changelog |grep -q UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; then | |
11 | echo "\e[31mRFS but the first line of the changelog doesn't contain UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO\e[0m" | |
12 | fi | |
10 | 13 | # trim the content |
11 | 14 | content=$(xargs '-d\n' echo -n < "$i") |
12 | 15 | if test -n "$content"; then |