mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-27 11:20:54 +00:00
Fixed: Use parent directories
This commit is contained in:
parent
30160d3f15
commit
bedc55578d
1 changed files with 4 additions and 4 deletions
|
@ -19,14 +19,14 @@ SIGNPATH=$CONTENTSPATH/_CodeSignature
|
|||
# uncompress Ryzom
|
||||
if [ -e "$ROOTPATH/Ryzom.zip" ]
|
||||
then
|
||||
unzip -o "$ROOTPATH/Ryzom.zip" -d "$CONTENTSPATH/.."
|
||||
unzip -o "$ROOTPATH/Ryzom.zip" -d "$CONTENTSPATH/../.."
|
||||
fi
|
||||
|
||||
# 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
|
||||
rm -rf "$CONTENTSPATH/../../Ryzom Installer.app"
|
||||
unzip -o "$ROOTPATH/RyzomInstaller.zip" -d "$CONTENTSPATH/../.."
|
||||
rm -rf "$CONTENTSPATH/../../../Ryzom Installer.app"
|
||||
unzip -o "$ROOTPATH/RyzomInstaller.zip" -d "$CONTENTSPATH/../../.."
|
||||
fi
|
||||
|
||||
exit 0
|
||||
|
|
Loading…
Reference in a new issue