config: add upstream proposed repo support for development.
This commit is contained in:
parent
a4fcc4a91b
commit
d144dbe8e4
1 changed files with 2 additions and 2 deletions
|
|
@ -120,13 +120,13 @@ EOF
|
||||||
|
|
||||||
# manage external repository sources. If origin is ubuntu or debian, add updates and security repositories too
|
# manage external repository sources. If origin is ubuntu or debian, add updates and security repositories too
|
||||||
if [ "1$EXTERNAL" != "1" ]; then
|
if [ "1$EXTERNAL" != "1" ]; then
|
||||||
if eval echo "$EXTERNAL" | grep "archive.ubuntu.com" | grep -qv -e updates -e security -e backports; then
|
if eval echo "$EXTERNAL" | grep "archive.ubuntu.com" | grep -qv -e updates -e security -e backports -e proposed; then
|
||||||
RELNAME=$(eval echo "$EXTERNAL" | cut -d' ' -f 3)
|
RELNAME=$(eval echo "$EXTERNAL" | cut -d' ' -f 3)
|
||||||
COMPONENTS=$(eval echo "$EXTERNAL" | cut -d' ' -f 4-)
|
COMPONENTS=$(eval echo "$EXTERNAL" | cut -d' ' -f 4-)
|
||||||
echo "deb-src http://archive.ubuntu.com/ubuntu/ $RELNAME $COMPONENTS" > ${LOCAL_APT}/etc/apt/sources.list
|
echo "deb-src http://archive.ubuntu.com/ubuntu/ $RELNAME $COMPONENTS" > ${LOCAL_APT}/etc/apt/sources.list
|
||||||
echo "deb-src http://archive.ubuntu.com/ubuntu/ ${RELNAME}-updates $COMPONENTS" >> ${LOCAL_APT}/etc/apt/sources.list
|
echo "deb-src http://archive.ubuntu.com/ubuntu/ ${RELNAME}-updates $COMPONENTS" >> ${LOCAL_APT}/etc/apt/sources.list
|
||||||
echo "deb-src http://archive.ubuntu.com/ubuntu/ ${RELNAME}-security $COMPONENTS" >> ${LOCAL_APT}/etc/apt/sources.list
|
echo "deb-src http://archive.ubuntu.com/ubuntu/ ${RELNAME}-security $COMPONENTS" >> ${LOCAL_APT}/etc/apt/sources.list
|
||||||
elif eval echo "$EXTERNAL" | grep "ftp.debian.org" |grep -qv -e updates -e security -e backports -e testing -e sid -e unstable -e experimental ; then
|
elif eval echo "$EXTERNAL" | grep "ftp.debian.org" |grep -qv -e updates -e security -e backports -e testing -e sid -e unstable -e experimental -e proposed ; then
|
||||||
RELNAME=$(eval echo "$EXTERNAL" | cut -d' ' -f 3)
|
RELNAME=$(eval echo "$EXTERNAL" | cut -d' ' -f 3)
|
||||||
COMPONENTS=$(eval echo "$EXTERNAL" | cut -d' ' -f 4-)
|
COMPONENTS=$(eval echo "$EXTERNAL" | cut -d' ' -f 4-)
|
||||||
echo "deb-src http://deb.debian.org/debian $RELNAME $COMPONENTS" > ${LOCAL_APT}/etc/apt/sources.list
|
echo "deb-src http://deb.debian.org/debian $RELNAME $COMPONENTS" > ${LOCAL_APT}/etc/apt/sources.list
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue