mirror of
https://github.com/bohanyang/debi.git
synced 2026-09-27 06:26:15 +00:00
Update
This commit is contained in:
+4
-2
@@ -157,7 +157,8 @@ while [ $# -gt 0 ]; do
|
|||||||
shift
|
shift
|
||||||
done
|
done
|
||||||
|
|
||||||
case "$DEBI_PRESET" in
|
if [ -n "$DEBI_PRESET" ]; then
|
||||||
|
case "$DEBI_PRESET" in
|
||||||
china)
|
china)
|
||||||
DEBI_NS=${DEBI_NS:-156.154.70.5 156.154.71.5}
|
DEBI_NS=${DEBI_NS:-156.154.70.5 156.154.71.5}
|
||||||
DEBI_PROTOCOL=${DEBI_PROTOCOL:-https}
|
DEBI_PROTOCOL=${DEBI_PROTOCOL:-https}
|
||||||
@@ -175,7 +176,8 @@ case "$DEBI_PRESET" in
|
|||||||
*)
|
*)
|
||||||
echo_stderr "Error: No such preset $DEBI_PRESET"
|
echo_stderr "Error: No such preset $DEBI_PRESET"
|
||||||
exit 1
|
exit 1
|
||||||
esac
|
esac
|
||||||
|
fi
|
||||||
|
|
||||||
DEBI_SUITE=${DEBI_SUITE:-stretch}
|
DEBI_SUITE=${DEBI_SUITE:-stretch}
|
||||||
DEBI_NEW="debian-$DEBI_SUITE"
|
DEBI_NEW="debian-$DEBI_SUITE"
|
||||||
|
|||||||
Reference in New Issue
Block a user