From 7a0a35586a6f8f29e047411412d79ad8a52f4193 Mon Sep 17 00:00:00 2001 From: kervala Date: Sat, 15 Oct 2016 10:27:34 +0200 Subject: [PATCH] Changed: Copy Ryzom Installer in parent directory if present --HG-- branch : develop --- code/ryzom/client/unix/upgd_nl.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/code/ryzom/client/unix/upgd_nl.sh b/code/ryzom/client/unix/upgd_nl.sh index 0e28a1555..1b4ba0176 100644 --- a/code/ryzom/client/unix/upgd_nl.sh +++ b/code/ryzom/client/unix/upgd_nl.sh @@ -13,4 +13,11 @@ chmod +x "$ROOTPATH/ryzom_client_patcher" chmod +x "$ROOTPATH/ryzom_configuration_qt" chmod +x "$ROOTPATH/ryzom_installer_qt" +# copy Ryzom Installer if present in parent directory +if [ -e "$ROOTPATH/../ryzom_installer_qt" ] +then + rm -f "$ROOTPATH/../ryzom_installer_qt" + cp -a "$ROOTPATH/ryzom_installer_qt" "$ROOTPATH/.." +fi + exit 0