Do not replace /bin/login.bak if it already exists (fixes multi-application)

This commit is contained in:
Fierelier 2022-11-07 01:36:08 +01:00
parent 43cd6182e7
commit 5eee2ff72b

View File

@ -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"