Move symlinking to post-install

This commit is contained in:
Gethec
2022-06-29 19:29:26 -05:00
parent 3970a02638
commit 86c7cf68e8

View File

@@ -1,6 +1,16 @@
#!/bin/bash #!/bin/bash
RED='\033[0;31m' RED='\033[0;31m'
if [ ! -L ~/.steam/sdk32 ]; then
echo "Creating Steam SDK32 symlink"
ln -s ~/.local/share/Steam/steamcmd/linux32 ~/.steam/sdk32
fi
if [ ! -L ~/.steam/sdk64 ]; then
echo "Creating Steam SDK64 symlink"
ln -s ~/.local/share/Steam/steamcmd/linux64 ~/.steam/sdk64
fi
if [ "$WORLD_SIZE" == "0" ] if [ "$WORLD_SIZE" == "0" ]
then then
if [ -e ~/saves/Worlds/${WORLD_NAME}.wld ] if [ -e ~/saves/Worlds/${WORLD_NAME}.wld ]