Changed: Copy Ryzom Installer in parent directory if present

This commit is contained in:
kervala 2016-10-15 10:27:34 +02:00
parent 927d66ed5d
commit 0c2ff9d8ee

View file

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