6 # -o pipefail: Fail on errors in scripts this calls, give stacktrace
10 sudo dpkg --purge opendaylight
12 # Verify ODL not installed
13 if dpkg -s opendaylight; then
14 # Fail if exit code 0, ie ODL is still installed
15 echo "OpenDaylight unexpectedly still installed"
18 echo "OpenDaylight not installed, as expected"