summaryrefslogtreecommitdiff
path: root/stage4b/prerun.sh
diff options
context:
space:
mode:
authorhibby <hibby@debian.org>2026-04-21 23:46:11 +0100
committerhibby <hibby@debian.org>2026-04-22 19:21:25 +0100
commite76d6529d4f458d519e9790ded441b98d9c2ff80 (patch)
tree8b29767f6a521f193243a9cecc26fc43bebecd34 /stage4b/prerun.sh
parent4ad56cc850fa60adcc7f07dc15879bc95cc1d281 (diff)
This might be what makes it work
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