From 9c0ece109861848c5dab9cd8a541427f2232beee Mon Sep 17 00:00:00 2001 From: Fincer Date: Sun, 13 Nov 2016 23:17:06 +0200 Subject: [PATCH] Fix git version for RA2 maps --- data/linux/openra-installscript.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/data/linux/openra-installscript.sh b/data/linux/openra-installscript.sh index 1515ce7..4f7f595 100755 --- a/data/linux/openra-installscript.sh +++ b/data/linux/openra-installscript.sh @@ -290,6 +290,7 @@ if [[ $response =~ ^([yY][eE][sS]|[yY])$ ]]; then RA2_VERSION=git-$(git ls-remote https://github.com/OpenRA/ra2.git | head -1 | sed "s/HEAD//" | sed 's/^\(.\{7\}\).*/\1/') sed -i "s/Version: {DEV_VERSION}/Version: $RA2_VERSION/g" $HOME/openra-master/$PACKAGE/mods/ra2/mod.yaml + sed -i "s/maps\/ra2\/{DEV_VERSION}/maps\/ra2\/$RA2_VERSION/g" $HOME/openra-master/$PACKAGE/mods/ra2/mod.yaml #********************************************************************************************************* ## PART 4/7