Proper error handling in debian-bootstrap
commit74ea013e42d3010719d62a3e6528416bef6be7c9
authorMichael Snoyman <michael@fpcomplete.com>
dateSun 24 Jan 2016, 06:49 (11 years ago)
parent713c581
debian-bootstrap.sh+3−1
@@ -1,4 +1,4 @@
1−#!/bin/bash -ex
1+#!/usr/bin/env bash
22
33# Work in progress: create a list of commands necessary to get Stackage
44# up-and-running on a freshly installed Debian-based system (including Ubuntu).
@@ -10,6 +10,8 @@
1010# instructions, see:
1111# http://www.stackage.org/install
1212
13+set -exu
14+
1315add-apt-repository -y ppa:zoogie/sdl2-snapshots
1416add-apt-repository -y ppa:marutter/rrutter
1517add-apt-repository -y ppa:openstack-ubuntu-testing/icehouse