From d0e67f081319276a70c83dae274ac1d0f54b30c0 Mon Sep 17 00:00:00 2001 From: Luke Childs Date: Sat, 14 Dec 2019 08:54:11 +0700 Subject: [PATCH] Add helpful extraction method --- entrypoint.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/entrypoint.sh b/entrypoint.sh index ca5bf11..a084612 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -4,6 +4,8 @@ image_path="/data/filesystem.img" zip_path="/filesystem.zip" if [ ! -e $image_path ] && [ -e $zip_path ]; then + echo "No filesystem detected at ${image_path}!" + echo "Extracting..." unzip $zip_path mv *.img $image_path fi