2016-02-28 15:36:46 +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
|
2016-10-31 21:46:39 +00:00
|
|
|
chmod +x "$ROOTPATH/khanat_client"
|
2016-03-01 12:46:04 +00:00
|
|
|
chmod +x "$ROOTPATH/crash_report"
|
2016-10-31 21:46:39 +00:00
|
|
|
chmod +x "$ROOTPATH/khanat_client_patcher"
|
|
|
|
chmod +x "$ROOTPATH/khanat_configuration_qt"
|
2016-10-12 13:12:09 +00:00
|
|
|
chmod +x "$ROOTPATH/ryzom_installer_qt"
|
2016-02-28 15:36:46 +00:00
|
|
|
|
2016-10-15 08:27:34 +00:00
|
|
|
# copy Ryzom Installer if present in parent directory
|
|
|
|
if [ -e "$ROOTPATH/../ryzom_installer_qt" ]
|
|
|
|
then
|
2016-10-16 15:38:37 +00:00
|
|
|
rm -f "$ROOTPATH/../ryzom_installer_qt"
|
2016-10-15 08:27:34 +00:00
|
|
|
cp -a "$ROOTPATH/ryzom_installer_qt" "$ROOTPATH/.."
|
|
|
|
fi
|
2016-02-28 15:36:46 +00:00
|
|
|
|
|
|
|
exit 0
|