summaryrefslogtreecommitdiff
path: root/selfstrap
diff options
context:
space:
mode:
Diffstat (limited to 'selfstrap')
-rwxr-xr-xselfstrap4
1 files changed, 2 insertions, 2 deletions
diff --git a/selfstrap b/selfstrap
index 09611a6..f72a9d6 100755
--- a/selfstrap
+++ b/selfstrap
@@ -1,4 +1,6 @@
1#!/bin/bash 1#!/bin/bash
2set -e
3
2debian_mirror=http://httpredir.debian.org/debian 4debian_mirror=http://httpredir.debian.org/debian
3debian_security_mirror=http://security.debian.org 5debian_security_mirror=http://security.debian.org
4EXTRA_PACKAGES='apt debian-archive-keyring locales' 6EXTRA_PACKAGES='apt debian-archive-keyring locales'
@@ -454,8 +456,6 @@ apt_get_update()
454 fi 456 fi
455} 457}
456 458
457set -e
458
459target_arch=$(dpkg-architecture -q DEB_HOST_ARCH) || die 'dpkg-architecture failed' 459target_arch=$(dpkg-architecture -q DEB_HOST_ARCH) || die 'dpkg-architecture failed'
460[ "$target_release" ] || target_release=$(current_debian_codename) && [ "$target_release" ] || die 'could not determine Debian release name' 460[ "$target_release" ] || target_release=$(current_debian_codename) && [ "$target_release" ] || die 'could not determine Debian release name'
461 461