]> Raphaƫl G. Git Repositories - distcook/blob - lib/urpmi.sh
Add root.mount to ignored files
[distcook] / lib / urpmi.sh
1 #! /bin/sh -e
2 urpmi.removemedia -a
3 urpmi.addmedia --distrib --all-media --mirrorlist http://mirrors.mageia.org/api/mageia.$MGARELEASE.$ARCH.list
4 perl -pne 's%(.*(?:testing|debug|sources).*) {\n%\1 {\n ignore\n%i' -i /etc/urpmi/urpmi.cfg
5 #remove distrib-coffee line from mirrors cache
6 #perl -pne 'undef $/; s% +{(?:\n +.(?:country|proximity|longitude|arch|version|zone|latitude).[^,]+,){7}\n +.url.[^,]+distrib-coffee[^,]+,(?:\n +.(?:type|proximity_corrected).[^,]+,){2}\n%%' -i /var/cache/urpmi/mirrors.cache