bbb: $0 is the script, $1 is the version number.
This commit is contained in:
2
bbb.sh
2
bbb.sh
@@ -63,7 +63,7 @@ cp /usr/bin/qemu-arm-static kali-${architecture}/usr/bin/
|
||||
|
||||
LANG=C systemd-nspawn -M $machine -D kali-${architecture} /debootstrap/debootstrap --second-stage
|
||||
|
||||
if [ $0 == 'nightly' ]; then
|
||||
if [ $1 == 'nightly' ]; then
|
||||
cat << EOF > kali-${architecture}/etc/apt/sources.list
|
||||
deb http://${mirror}/kali kali-rolling main contrib non-free
|
||||
EOF
|
||||
|
||||
Reference in New Issue
Block a user