mirror of
https://github.com/bohanyang/debi.git
synced 2026-09-27 06:26:15 +00:00
Update netboot.sh
This commit is contained in:
+2
-2
@@ -106,7 +106,7 @@ while [ $# -gt 0 ]; do
|
|||||||
MANUALLY=true
|
MANUALLY=true
|
||||||
;;
|
;;
|
||||||
-arch)
|
-arch)
|
||||||
MACHARCH=$2
|
ARCH=$2
|
||||||
shift
|
shift
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
@@ -130,7 +130,7 @@ COUNTRY=${COUNTRY:-US}
|
|||||||
PROTO=${PROTO:-http}
|
PROTO=${PROTO:-http}
|
||||||
HOST=${HOST:-deb.debian.org}
|
HOST=${HOST:-deb.debian.org}
|
||||||
DIR=${DIR:-/debian}
|
DIR=${DIR:-/debian}
|
||||||
if [ -z "$SECURITY" ]; then
|
if [ -z "$ARCH" ]; then
|
||||||
ARCH=$(dpkg --print-architecture)
|
ARCH=$(dpkg --print-architecture)
|
||||||
fi
|
fi
|
||||||
SUITE=${SUITE:-stretch}
|
SUITE=${SUITE:-stretch}
|
||||||
|
|||||||
Reference in New Issue
Block a user