mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-23 07:16:15 +00:00
23 lines
554 B
Bash
23 lines
554 B
Bash
#!/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/khanat_client"
|
|
chmod +x "$ROOTPATH/crash_report"
|
|
chmod +x "$ROOTPATH/khanat_client_patcher"
|
|
chmod +x "$ROOTPATH/khanat_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
|