summaryrefslogtreecommitdiff
path: root/stage4b/prerun.sh
diff options
context:
space:
mode:
Diffstat (limited to 'stage4b/prerun.sh')
-rwxr-xr-xstage4b/prerun.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/stage4b/prerun.sh b/stage4b/prerun.sh
new file mode 100755
index 0000000..9acd13c
--- /dev/null
+++ b/stage4b/prerun.sh
@@ -0,0 +1,5 @@
+#!/bin/bash -e
+
+if [ ! -d "${ROOTFS_DIR}" ]; then
+ copy_previous
+fi