Codebase list rust-libslirp / 734a4ec
Show the versions Sylvestre Ledru 1 year, 7 months ago
1 changed file(s) with 5 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
3030 else
3131 # It isn't NEW but I want to know if this is a new upstream release or not
3232 LAST_TWO=$(dpkg-parsechangelog -c 2 -l $(dirname "$i")/changelog|grep urgency)
33 LAST=$(echo "$LAST_TWO"|head -1|cut -d\( -f2|cut -d\) -f1|cut -d- -f1)
34 SECOND=$(echo "$LAST_TWO"|tail -1|cut -d\( -f2|cut -d\) -f1|cut -d- -f1)
33 LAST_FULL=$(echo "$LAST_TWO"|head -1|cut -d\( -f2|cut -d\) -f1)
34 SECOND_FULL=$(echo "$LAST_TWO"|tail -1|cut -d\( -f2|cut -d\) -f1)
35 LAST=$(echo $LAST_FULL|cut -d- -f1)
36 SECOND=$(echo $SECOND_FULL|cut -d- -f1)
3537 if test $LAST == $SECOND; then
36 echo -e "\e[31mNot a new release\e[0m"
38 echo -e "\e[31mNot a new release ($SECOND_FULL => $LAST_FULL) \e[0m"
3739 fi
3840 fi
3941 # trim the content