summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
Diffstat (limited to 'functions')
-rwxr-xr-xfunctions/defaults.sh24
1 files changed, 24 insertions, 0 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh
index 05ab2fc..0862254 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -344,6 +344,18 @@ Set_defaults ()
;;
esac
;;
+
+ ubuntu)
+ case "${LH_ARCHITECTURE}" in
+ amd64|i386)
+ LH_MIRROR_CHROOT_VOLATILE="http://security.ubuntu.com/ubuntu/"
+ ;;
+
+ *)
+ LH_MIRROR_CHROOT_VOLATILE="http://ports.ubuntu.com/"
+ ;;
+ esac
+ ;;
esac
LH_MIRROR_CHROOT_VOLATILE="${LH_MIRROR_CHROOT_VOLATILE:-none}"
@@ -412,6 +424,18 @@ Set_defaults ()
;;
esac
;;
+
+ ubuntu)
+ case "${LH_ARCHITECTURE}" in
+ amd64|i386)
+ LH_MIRROR_BINARY_VOLATILE="http://security.ubuntu.com/ubuntu/"
+ ;;
+
+ *)
+ LH_MIRROR_BINARY_VOLATILE="http://ports.ubuntu.com/"
+ ;;
+ esac
+ ;;
esac
LH_MIRROR_BINARY_VOLATILE="${LH_MIRROR_BINARY_VOLATILE:-none}"