Bladeren bron

changed unity3d to 7d2d specific logs

Daniel Gibbs 11 jaren geleden
bovenliggende
commit
0a517ef948
1 gewijzigde bestanden met toevoegingen van 5 en 5 verwijderingen
  1. 5 5
      functions/fn_loginstall

+ 5 - 5
functions/fn_loginstall

@@ -2,17 +2,17 @@
 # LGSM fn_loginstall function
 # LGSM fn_loginstall function
 # Author: Daniel Gibbs
 # Author: Daniel Gibbs
 # Website: http://danielgibbs.co.uk
 # Website: http://danielgibbs.co.uk
-# Version: 211214
+# Version: 241214
 
 
 echo ""
 echo ""
 echo "Creating log directorys"
 echo "Creating log directorys"
 echo "================================="
 echo "================================="
 sleep 1
 sleep 1
 # Create dir's for the script and console logs
 # Create dir's for the script and console logs
-mkdir -pv "${rootdir}/log"
-mkdir -pv "${scriptlogdir}"
+mkdir -v "${rootdir}/log"
+mkdir -v "${scriptlogdir}"
 touch "${scriptlog}"
 touch "${scriptlog}"
-mkdir -pv "${consolelogdir}"
+mkdir -v "${consolelogdir}"
 touch "${consolelog}"
 touch "${consolelog}"
 # If a server is source or goldsource create a symbolic link to the game server logs
 # If a server is source or goldsource create a symbolic link to the game server logs
 if [ "${engine}" == "source" ]||[ "${engine}" == "goldsource" ]; then
 if [ "${engine}" == "source" ]||[ "${engine}" == "goldsource" ]; then
@@ -26,7 +26,7 @@ fi
 if [ "${engine}" == "unreal2" ]||[ "${engine}" == "unity3d" ]; then
 if [ "${engine}" == "unreal2" ]||[ "${engine}" == "unity3d" ]; then
 	mkdir -pv ${gamelogdir}
 	mkdir -pv ${gamelogdir}
 fi
 fi
-if [ "${engine}" == "unity3d" ]; then
+if [ "${gamename}" == "7 Days To Die" ]; then
 	ln -sv "${filesdir}/7DaysToDie_Data/output_log.txt" "${gamelogdir}/output_log.txt"
 	ln -sv "${filesdir}/7DaysToDie_Data/output_log.txt" "${gamelogdir}/output_log.txt"
 fi
 fi
 sleep 1
 sleep 1