packer-cn/provisioner/shell-local/test-fixtures/script.sh

6 lines
84 B
Bash

#!/bin/bash
if [[ ! -f file.txt ]] ; then
echo 'hello' > file.txt
exit 1
fi