Sfoglia il codice sorgente

Fixed bug stopping ts3 from updating

Daniel Gibbs 11 anni fa
parent
commit
0aef50de77
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      functions/fn_update_dl

+ 2 - 2
functions/fn_update_dl

@@ -2,7 +2,7 @@
 # LGSM fn_update_dl function
 # Author: Daniel Gibbs
 # Website: http://gameservermanagers.com
-# Version: 050515
+# Version: 160515
 
 # Description: Runs a server update.
 
@@ -61,7 +61,7 @@ else
 fi
 echo -e "copying to ${filesdir}...\c"
 fn_scriptlog "Copying to ${filesdir}"
-cp -R "${rootdir}/teamspeak3-server_linux-${ts3arch}/*" "${filesdir}" 2> "${scriptlogdir}/.${servicename}-cp-error.tmp"
+cp -R "${rootdir}/teamspeak3-server_linux-${ts3arch}/"* "${filesdir}" 2> "${scriptlogdir}/.${servicename}-cp-error.tmp"
 local status=$?
 if [ ${status} -eq 0 ]; then
 	echo "OK"