Commit 27aa9d46 authored by EclipseSpark's avatar EclipseSpark
Browse files

apt-parrot 2.2

parents
deb http://uta.repository.frozenbox.org/parrot stable main contrib non-free
#deb-src http://uta.repository.frozenbox.org/parrot stable main contrib non-free
#deb http://uta.repository.frozenbox.org/parrot testing main contrib non-free
deb http://ftp.us.debian.org/debian wheezy main contrib non-free
#deb-src http://ftp.us.debian.org/debian wheezy main contrib non-free
#deb http://ftp.us.debian.org/debian wheezy-backports main contrib non-free
#deb-src http://ftp.us.debian.org/debian wheezy-backports main contrib non-free
deb http://security.debian.org/ wheezy/updates main
#deb-src http://security.debian.org/ wheezy/updates main
deb http://ftp.us.debian.org/debian wheezy-updates main contrib non-free
#deb-src http://ftp.us.debian.org/debian wheezy-updates main contrib non-free
#deb http://ftp.us.debian.org/debian wheezy-proposed-updates main contrib non-free
#deb-src http://ftp.us.debian.org/debian wheezy-updates main contrib non-free
# take the wheezy repository for retro-compatibility with some libraries required by some tools
deb http://ftp.us.debian.org/debian wheezy main contrib non-free
deb http://repository.frozenbox.org/mirrors/parrot stable main contrib non-free
#deb-src http://repository.frozenbox.org/mirrors/parrot stable main contrib non-free
deb http://yandex.repository.frozenbox.org/debian jessie main contrib non-free
#deb-src http://yandex.repository.frozenbox.org/debian jessie main contrib non-free
#deb http://yandex.repository.frozenbox.org/debian jessie-backports main contrib non-free
#deb-src http://yandex.repository.frozenbox.org/debian jessie-backports main contrib non-free
deb http://security.debian.org/ jessie/updates main
#deb-src http://security.debian.org/ jessie/updates main
deb http://yandex.repository.frozenbox.org/debian jessie-updates main contrib non-free
#deb-src http://yandex.repository.frozenbox.org/debian jessie-updates main contrib non-free
#deb http://yandex.repository.frozenbox.org/debian jessie-proposed-updates main contrib non-free
#deb-src http://yandex.repository.frozenbox.org/debian jessie-updates main contrib non-free
# take the wheezy repository for retro-compatibility with some libraries required by some tools
deb http://yandex.repository.frozenbox.org/debian wheezy main contrib non-free
deb http://yandex.repository.frozenbox.org/mirrors/parrot stable main contrib non-free
#deb-src http://yandex.repository.frozenbox.org/mirrors/parrot stable main contrib non-free
#deb http://yandex.repository.frozenbox.org/mirrors/parrot testing main contrib non-free
#!/bin/bash
function list() {
echo -e "Parrot Mirror Selector - set up the APT mirror you desire
MIRRORS LIST <codename> - <description> ([<debian archive> +] <parrot archive>)
BY ZONE
us - north america (debian us mirror + frozenbox us mirror)
eu - europe (GARR)
asia - asia (YANDEX)
sa - south america (debian us mirror + CEDIA)
BY PROVIDER
frozenbox - north america
garr - italy
yandex - russia
cedia - ecuador
uta - ecuador
espoch - ecuador
USAGE
parrot-mirror-selector <mirror codename>
EXAMPLE
parrot-mirror-selector garr
"
}
function wheezy() {
cat /etc/apt/templates/wheezy/debian.list > /etc/apt/sources.list.d/debian.list
cat /etc/apt/templates/wheezy/parrot.list > /etc/apt/sources.list.d/parrot.list
function eu() {
cat /etc/apt/templates/eu/debian.list > /etc/apt/sources.list.d/debian.list
cat /etc/apt/templates/eu/parrot.list > /etc/apt/sources.list.d/parrot.list
}
function us() {
cat /etc/apt/templates/us/debian.list > /etc/apt/sources.list.d/debian.list
cat /etc/apt/templates/us/parrot.list > /etc/apt/sources.list.d/parrot.list
}
function asia() {
cat /etc/apt/templates/asia/debian.list > /etc/apt/sources.list.d/debian.list
cat /etc/apt/templates/asia/parrot.list > /etc/apt/sources.list.d/parrot.list
}
function sa() {
cat /etc/apt/templates/sa/debian.list > /etc/apt/sources.list.d/debian.list
cat /etc/apt/templates/sa/parrot.list > /etc/apt/sources.list.d/parrot.list
}
function cedia() {
cat /etc/apt/templates/cedia/debian.list > /etc/apt/sources.list.d/debian.list
cat /etc/apt/templates/cedia/parrot.list > /etc/apt/sources.list.d/parrot.list
}
function uta() {
cat /etc/apt/templates/uta/debian.list > /etc/apt/sources.list.d/debian.list
cat /etc/apt/templates/uta/parrot.list > /etc/apt/sources.list.d/parrot.list
}
function espoch() {
cat /etc/apt/templates/espoch/debian.list > /etc/apt/sources.list.d/debian.list
cat /etc/apt/templates/espoch/parrot.list > /etc/apt/sources.list.d/parrot.list
}
function frozenbox() {
cat /etc/apt/templates/frozenbox/debian.list > /etc/apt/sources.list.d/debian.list
cat /etc/apt/templates/frozenbox/parrot.list > /etc/apt/sources.list.d/parrot.list
}
function garr() {
cat /etc/apt/templates/garr/debian.list > /etc/apt/sources.list.d/debian.list
cat /etc/apt/templates/garr/parrot.list > /etc/apt/sources.list.d/parrot.list
}
function yandex() {
cat /etc/apt/templates/yandex/debian.list > /etc/apt/sources.list.d/debian.list
cat /etc/apt/templates/yandex/parrot.list > /etc/apt/sources.list.d/parrot.list
}
case $1 in
list)
list
;;
eu)
eu
;;
us)
us
;;
asia)
asia
;;
sa)
sa
;;
yandex)
yandex
;;
garr)
garr
;;
frozenbox)
frozenbox
;;
cedia)
cedia
;;
uta)
uta
;;
espoch)
espoch
;;
wheezy)
espoch
;;
*)
list
;;
esac
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment