X-Git-Url: https://git.rapsys.eu/distcook/blobdiff_plain/658759498941fe6b714790087db75ea29050ddee..1aa323398b3be427e4adab91386d2c98da3c69e8:/lib/urpmi.sh diff --git a/lib/urpmi.sh b/lib/urpmi.sh index 5d72d1c..98e138e 100755 --- a/lib/urpmi.sh +++ b/lib/urpmi.sh @@ -1,6 +1,6 @@ #! /bin/sh -e urpmi.removemedia -a urpmi.addmedia --distrib --all-media --mirrorlist http://mirrors.mageia.org/api/mageia.$MGARELEASE.$ARCH.list -perl -pne 's%(.*testing.*) {\n%\1 {\n ignore\n%i' -i /etc/urpmi/urpmi.cfg +perl -pne 's%(.*(?:testing|debug|sources).*) {\n%\1 {\n ignore\n%i' -i /etc/urpmi/urpmi.cfg #remove distrib-coffee line from mirrors cache #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