diff options
Diffstat (limited to 'create_dual.sh')
-rwxr-xr-x | create_dual.sh | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/create_dual.sh b/create_dual.sh index 1147e8f..3a8fde7 100755 --- a/create_dual.sh +++ b/create_dual.sh @@ -56,19 +56,23 @@ do done # use symbolic links on noarch -cd $BUILDPATH/x86_64/$MEDIAMAIN -for i in *noarch.rpm +for i in core nonfree do - if [ -f "../../../i586/$MEDIAMAIN/$i" ];then - echo $i - echo "erase package $i" - rm -vf $i - echo "link with the i586 one" - ln -sf ../../../i586/$MEDIAMAIN/$i . - else - echo "no ../../../i586/$MEDIAMAIN/$i package" - fi + cd $BUILDPATH/x86_64/media/$i + + for j in *noarch.rpm + do + if [ -f "../../../i586/$MEDIAMAIN/$j" ];then + echo $j + echo "erase package $j" + rm -vf $j + echo "link with the i586 one" + ln -sf ../../../i586/$MEDIAMAIN/$j . + else + echo "no ../../../i586/$MEDIAMAIN/$j package" + fi + done done # build idx file, add release notes |