X-Plane: X-World Scenery 1.1 -> 2.1-fix

master
Michael Raitza 2023-03-13 08:50:37 +01:00
parent ee82f43e01
commit 882fa28e9a
2 changed files with 6 additions and 5 deletions

View File

@ -16,8 +16,9 @@ let
inherit (lib) concatStringsSep optional;
dirName = "simHeaven_X-World_Asia";
linkDirs = concatStringsSep " " ([
"${dirName}-0-exclusions"
#"${dirName}-0-exclusions"
"${dirName}-1-vfr"
"${dirName}-2-regions"
"${dirName}-5-footprints"
"${dirName}-6-scenery"
"${dirName}-7-forests"
@ -28,7 +29,7 @@ let
tiles = concatStringsSep " " replaceTiles;
in mkXPlaneAddon {
pname = "x-world-asia";
version = "1.1";
version = "2.1-fix";
src = "";
buildCommand = ''
mkdir -p "$out"
@ -42,7 +43,7 @@ in mkXPlaneAddon {
for f in ${linkDirs} ; do
mkdir "$XPLANEPATH/Custom Scenery/$f"
for j in "${impureSrcPath}/$f"/* ; do
ln -s "$j" "$XPLANEPATH/Custom Scenery/$f/$(basename "$j")"
ln -s "$j" "$XPLANEPATH/Custom Scenery/$f/$(basename "$j")"
done
done
if [ "${toString useOrtho}" = 1 ]; then

View File

@ -16,7 +16,7 @@ let
inherit (lib) concatStringsSep optional;
dirName = "simHeaven_X-World_Europe";
linkDirs = concatStringsSep " " ([
"${dirName}-0-exclusions"
#"${dirName}-0-exclusions"
"${dirName}-1-vfr"
"${dirName}-2-regions"
"${dirName}-5-footprints"
@ -29,7 +29,7 @@ let
tiles = concatStringsSep " " replaceTiles;
in mkXPlaneAddon {
pname = "x-world-europe";
version = "1.1";
version = "2.1-fix";
src = "";
buildCommand = ''
mkdir -p "$out"