55 |
|
|
56 |
if [ "$distrel" == "7" ] |
if [ "$distrel" == "7" ] |
57 |
then |
then |
58 |
createrepo $(pwd)/$distarch/ |
createrepo --update --database $(pwd)/$distarch/ |
59 |
else |
else |
60 |
createrepo -g repodata/comps.xml -u "media://$(head -1 $distarch/.discinfo)" $(pwd)/$distarch/ |
createrepo --update --database --groupfile repodata/comps.xml -u "media://$(head -1 $distarch/.discinfo)" $(pwd)/$distarch/ |
61 |
fi |
fi |
62 |
sync; rm -rf $(pwd)/$distarch/.olddata |
sync; rm -rf $(pwd)/$distarch/.olddata |
63 |
repoview $(pwd)/$distarch/ |
repoview $(pwd)/$distarch/ |