Fixed: Use parent directories
--HG-- branch : develop
This commit is contained in:
parent
e43551908e
commit
f24346486f
1 changed files with 4 additions and 4 deletions
|
@ -19,14 +19,14 @@ SIGNPATH=$CONTENTSPATH/_CodeSignature
|
||||||
# uncompress Ryzom
|
# uncompress Ryzom
|
||||||
if [ -e "$ROOTPATH/Ryzom.zip" ]
|
if [ -e "$ROOTPATH/Ryzom.zip" ]
|
||||||
then
|
then
|
||||||
unzip -o "$ROOTPATH/Ryzom.zip" -d "$CONTENTSPATH/.."
|
unzip -o "$ROOTPATH/Ryzom.zip" -d "$CONTENTSPATH/../.."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# only uncompress Ryzom Installer if found in parent directory
|
# only uncompress Ryzom Installer if found in parent directory
|
||||||
if [ -e "$ROOTPATH/RyzomInstaller.zip" ] && [ -d "$CONTENTSPATH/../../Ryzom Installer.app" ]
|
if [ -e "$ROOTPATH/RyzomInstaller.zip" ] && [ -d "$CONTENTSPATH/../../../Ryzom Installer.app" ]
|
||||||
then
|
then
|
||||||
rm -rf "$CONTENTSPATH/../../Ryzom Installer.app"
|
rm -rf "$CONTENTSPATH/../../../Ryzom Installer.app"
|
||||||
unzip -o "$ROOTPATH/RyzomInstaller.zip" -d "$CONTENTSPATH/../.."
|
unzip -o "$ROOTPATH/RyzomInstaller.zip" -d "$CONTENTSPATH/../../.."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
Loading…
Reference in a new issue