15 |
exit 1 |
exit 1 |
16 |
fi |
fi |
17 |
|
|
|
# remove package that are no longer in the distro |
|
|
if [ "$distrel" == "8" ] |
|
|
then |
|
|
find -name 'samba-*.sme.*' -print0 -o \ |
|
|
-name 'libsmbclient-*.sme.*' -print0 -o \ |
|
|
-name 'libtalloc-*.sme.*' -print0 -o \ |
|
|
-name 'libtdb-*.sme.*' -print0 -o \ |
|
|
-name 'tdb-tools-*.sme.*' -print0 \ |
|
|
-name 'libtdb-*.sme.*' -print0 \ |
|
|
| xargs -r0 rm |
|
|
fi |
|
|
|
|
|
|
|
18 |
for img in product updates |
for img in product updates |
19 |
do |
do |
20 |
if [ "$distrel" == "7" ] |
if [ "$distrel" == "7" ] |
103 |
|
|
104 |
if [ -d SRPMS -a "$distarch" == "i386" ] |
if [ -d SRPMS -a "$distarch" == "i386" ] |
105 |
then |
then |
106 |
rm -f ../iso/$distrel/source/$disttag-$distvers-SRPMS.iso* ../iso/$distrel/source/$disttag-SRPMS.iso |
rm -f ../iso/$distrel/source/$disttag-$distvers-SRPMS.iso* ../iso/$distrel/source/$disttag-SRPMS.iso* |
107 |
|
|
108 |
mkisofs $mkisopts \ |
mkisofs $mkisopts \ |
109 |
-V "$distname $distvers SRPMS" \ |
-V "$distname $distvers SRPMS" \ |