burrow-pi-img/stage2/prerun.sh

6 lines
68 B
Bash
Executable File

#!/bin/bash -e
if [ ! -d "${ROOTFS_DIR}" ]; then
copy_previous
fi