mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-06-06 15:42:31 +00:00
make it easier to use a custom mirror
This commit is contained in:
parent
2403a1d29c
commit
15e23d2de5
@ -1,7 +1,7 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
MIRROR=
|
if [ -z "$MIRROR" ]; then
|
||||||
case $(hostname --fqdn) in
|
case $(hostname --fqdn) in
|
||||||
bld-*.mmjgroup.com) ;;
|
bld-*.mmjgroup.com) ;;
|
||||||
*.mmjgroup.com)
|
*.mmjgroup.com)
|
||||||
@ -14,8 +14,8 @@ case $(hostname --fqdn) in
|
|||||||
*.ubuntu.com) MIRROR=http://ftpmaster.internal/ubuntu/ ;;
|
*.ubuntu.com) MIRROR=http://ftpmaster.internal/ubuntu/ ;;
|
||||||
*.warthogs.hbd.com) MIRROR=http://ftpmaster.internal/ubuntu/ ;;
|
*.warthogs.hbd.com) MIRROR=http://ftpmaster.internal/ubuntu/ ;;
|
||||||
*.buildd) MIRROR=http://ftpmaster.internal/ubuntu/ ;;
|
*.buildd) MIRROR=http://ftpmaster.internal/ubuntu/ ;;
|
||||||
*) ;;
|
|
||||||
esac
|
esac
|
||||||
|
fi
|
||||||
|
|
||||||
mkdir -p config/chroot_local-tasklists config/chroot_local-packagelists
|
mkdir -p config/chroot_local-tasklists config/chroot_local-packagelists
|
||||||
rm -f config/chroot_local-tasklists/livecd-rootfs.list config/chroot_local-packagelists/livecd-rootfs.list
|
rm -f config/chroot_local-tasklists/livecd-rootfs.list config/chroot_local-packagelists/livecd-rootfs.list
|
||||||
|
Loading…
x
Reference in New Issue
Block a user