khanat-opennel-code/code/ryzom/client/unix/upgd_nl.sh

24 lines
550 B
Bash
Raw Normal View History

2016-09-24 12:22:22 +00:00
#!/bin/sh
if [ -z "$ROOTPATH" ]
then
echo "upgd_nl.sh can only be launched from updt_nl.sh"
exit 1
fi
# executable flag for all executables
chmod +x "$ROOTPATH/ryzom_client"
chmod +x "$ROOTPATH/crash_report"
chmod +x "$ROOTPATH/ryzom_client_patcher"
chmod +x "$ROOTPATH/ryzom_configuration_qt"
2016-10-12 13:12:52 +00:00
chmod +x "$ROOTPATH/ryzom_installer_qt"
2016-09-24 12:22:22 +00:00
2016-10-15 08:37:56 +00:00
# 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
2016-09-24 12:22:22 +00:00
exit 0