mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
442 B

  1. #!/bin/bash
  2. tempfile=`mktemp`
  3. counter=100
  4. for pkg in $( ./scripts/Create-PkgList | cut -f4,5 -d' ' | tr ' ' / )
  5. do
  6. xcounter=$counter
  7. [ $pkg = base/rock-debug ] && xcounter=999
  8. [ $pkg = base/rock-src ] && xcounter=998
  9. sed -e 's,^\(\[P\] .* \)[0-9\.][0-9\.]*$,\1'$xcounter'.000,' \
  10. < package/$pkg/${pkg#*/}.desc > $tempfile
  11. diff -u ./package/$pkg/${pkg#*/}.desc $tempfile
  12. [ $xcounter = $counter ] && counter=$(( $counter + 1 ))
  13. done