diff options
author | Katharina Drexel <katharina.drexel@bfh.ch> | 2021-04-12 17:02:55 +0000 |
---|---|---|
committer | Katharina Drexel <katharina.drexel@bfh.ch> | 2021-04-13 07:55:21 +0000 |
commit | 66361e4b38fe78a565d6b2bd34be9d59e777a754 (patch) | |
tree | b8243166e7412742d3692bec03e4cf0e607e7d2b /share | |
parent | Integrating mmdebstrap in debconf script. (diff) | |
download | compute-tools-66361e4b38fe78a565d6b2bd34be9d59e777a754.tar.xz compute-tools-66361e4b38fe78a565d6b2bd34be9d59e777a754.zip |
Prefer mmdebstrap to debootstrap in debconf.
Signed-off-by: Katharina Drexel <katharina.drexel@bfh.ch>
Diffstat (limited to 'share')
-rwxr-xr-x | share/scripts/debconf | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/share/scripts/debconf b/share/scripts/debconf index a7293a2..09690a3 100755 --- a/share/scripts/debconf +++ b/share/scripts/debconf @@ -115,12 +115,12 @@ then exit 1 fi -if [ -x /usr/sbin/debootstrap ] -then - BOOTSTRAP_PROGRAM="debootstrap" -elif [ -x /usr/bin/mmdebstrap ] +if [ -x /usr/bin/mmdebstrap ] then BOOTSTRAP_PROGRAM="mmdebstrap" +elif [ -x /usr/sbin/debootstrap ] +then + BOOTSTRAP_PROGRAM="debootstrap" else echo "Install mmdebstrap or debootstrap before continuing." >&2 exit 1 |