5 echo "upgd_nl.sh can only be launched from updt_nl.sh"
9 # determine directory where all files reside
10 CONTENTSPATH
=$
(dirname "$ROOTPATH")
11 MACOSPATH
=$
(dirname "$RYZOM_CLIENT")
12 SIGNPATH
=$CONTENTSPATH/_CodeSignature
14 # all files of original Bundle are in the same directory
15 # we have to uncompress them to the right location
17 # client_default.cfg and ryzom.icns are already in the right location
20 if [ -e "$ROOTPATH/Ryzom.zip" ]
22 unzip -o "$ROOTPATH/Ryzom.zip" -d "$CONTENTSPATH/../.."
25 # only uncompress Ryzom Installer if found in parent directory
26 if [ -e "$ROOTPATH/RyzomInstaller.zip" ] && [ -d "$CONTENTSPATH/../../../Ryzom Installer.app" ]
28 rm -rf "$CONTENTSPATH/../../../Ryzom Installer.app"
29 unzip -o "$ROOTPATH/RyzomInstaller.zip" -d "$CONTENTSPATH/../../.."