From 5eee2ff72b3a21506b202e1acacd1894d8e6b85a Mon Sep 17 00:00:00 2001 From: Fierelier Date: Mon, 7 Nov 2022 01:36:08 +0100 Subject: [PATCH] Do not replace /bin/login.bak if it already exists (fixes multi-application) --- mods/oobe/modscript | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mods/oobe/modscript b/mods/oobe/modscript index 4ebc5b4..d1deb52 100644 --- a/mods/oobe/modscript +++ b/mods/oobe/modscript @@ -1,3 +1,5 @@ #!/bin/bash -cp "$1/bin/login" "$1/bin/login.bak" +if [ ! -f "$1/bin/login.bak" ]; then + cp "$1/bin/login" "$1/bin/login.bak" +fi export WDVN_PACKAGES_DL="$WDVN_PACKAGES_DL locales tzdata" \ No newline at end of file