Browse Source
fix(nmrih): add if statements for symlink fixes
This commit fixes an issue where certain server files were missing. Symbolic links are now created for the following files if they do not already exist: vphysics.so, studiorender.so, soundemittersystem.so, shaderapiempty.so, scenefilecache.so, replay.so, and materialsystem.so.
pull/4299/merge
Daniel Gibbs
1 year ago
No known key found for this signature in database
GPG Key ID: 2076B128385E8C55
1 changed files with
21 additions and
7 deletions
lgsm/modules/fix_nmrih.sh
@ -8,10 +8,24 @@
moduleselfname = " $( basename " $( readlink -f " ${ BASH_SOURCE [0] } " ) " ) "
ln -s " ${ serverfiles } /bin/vphysics_srv.so " " ${ serverfiles } /bin/vphysics.so "
ln -s " ${ serverfiles } /bin/studiorender_srv.so " " ${ serverfiles } /bin/studiorender.so "
ln -s " ${ serverfiles } /bin/soundemittersystem_srv.so " " ${ serverfiles } /bin/soundemittersystem.so "
ln -s " ${ serverfiles } /bin/shaderapiempty_srv.so " " ${ serverfiles } /bin/shaderapiempty.so "
ln -s " ${ serverfiles } /bin/scenefilecache_srv.so " " ${ serverfiles } /bin/scenefilecache.so "
ln -s " ${ serverfiles } /bin/replay_srv.so " " ${ serverfiles } /bin/replay.so "
ln -s " ${ serverfiles } /bin/materialsystem_srv.so " " ${ serverfiles } /bin/materialsystem.so "
if [ ! -f " ${ serverfiles } /bin/vphysics.so " ] ; then
ln -s " ${ serverfiles } /bin/vphysics_srv.so " " ${ serverfiles } /bin/vphysics.so "
fi
if [ ! -f " ${ serverfiles } /bin/studiorender.so " ] ; then
ln -s " ${ serverfiles } /bin/studiorender_srv.so " " ${ serverfiles } /bin/studiorender.so "
fi
if [ ! -f " ${ serverfiles } /bin/soundemittersystem.so " ] ; then
ln -s " ${ serverfiles } /bin/soundemittersystem_srv.so " " ${ serverfiles } /bin/soundemittersystem.so "
fi
if [ ! -f " ${ serverfiles } /bin/shaderapiempty.so " ] ; then
ln -s " ${ serverfiles } /bin/shaderapiempty_srv.so " " ${ serverfiles } /bin/shaderapiempty.so "
fi
if [ ! -f " ${ serverfiles } /bin/scenefilecache.so " ] ; then
ln -s " ${ serverfiles } /bin/scenefilecache_srv.so " " ${ serverfiles } /bin/scenefilecache.so "
fi
if [ ! -f " ${ serverfiles } /bin/replay.so " ] ; then
ln -s " ${ serverfiles } /bin/replay_srv.so " " ${ serverfiles } /bin/replay.so "
fi
if [ ! -f " ${ serverfiles } /bin/materialsystem.so " ] ; then
ln -s " ${ serverfiles } /bin/materialsystem_srv.so " " ${ serverfiles } /bin/materialsystem.so "
fi