diff options
author | Gaël Bonithon <gael@xfce.org> | 2021-01-31 20:47:00 +0100 |
---|---|---|
committer | Gaël Bonithon <gael@xfce.org> | 2021-02-02 20:05:51 +0100 |
commit | 6885d2a572e127083c2ae72832e373e752db2db5 (patch) | |
tree | 5c5ab2ced0b15f305ec3431f413f1fba2d7f524c | |
parent | 4ffc172cc6594ac6e88d49466f4572d729b5088f (diff) | |
download | xfce4-dev-tools-6885d2a572e127083c2ae72832e373e752db2db5.tar.gz |
xfce-do-release: Check for `docker` installed
-rwxr-xr-x | helpers/xfce-do-release | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/helpers/xfce-do-release b/helpers/xfce-do-release index bf91711..c1f6794 100755 --- a/helpers/xfce-do-release +++ b/helpers/xfce-do-release @@ -28,10 +28,12 @@ sanity_checks () { git status --untracked-files=no -s read -n 1 -s -p "Do you really want to continue?" fi - if which xfce-build >/dev/null; then + if ! which docker &>/dev/null; then + echo "INFO: please install docker to support building in a clean environment." + elif which xfce-build &>/dev/null; then export TAG="xfce-build" echo "Working with the 'xfce-build' script and container." - elif ! which xfce-test >/dev/null; then + elif ! which xfce-test &>/dev/null; then echo "INFO: please install xfce-test to support building in a clean environment. See https://github.com/schuellerf/xfce-test" else images=$(docker images|grep -Po "(?<=^schuellerf/xfce-test) +[^ ]+"|tr -d ' ') |