#!/usr/bin/with-contenv bash if ! [[ -x "$(command -v git)" ]]; then echo "git" >> /mod-repo-packages-to-install.list echo "perl" >> /mod-repo-packages-to-install.list fi