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
444 B

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