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

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