lrob пре 10 година
родитељ
комит
c875598a5a
1 измењених фајлова са 3 додато и 3 уклоњено
  1. 3 3
      functions/command_fastdl.sh

+ 3 - 3
functions/command_fastdl.sh

@@ -115,14 +115,14 @@ echo "Done"
 sleep 1
 sleep 1
 
 
 # Going back to scriptfolder to avoid mistakes
 # Going back to scriptfolder to avoid mistakes
-cd ${rootdir}
+cd "${rootdir}"
 
 
 # Correct addons folder structure
 # Correct addons folder structure
 if [ -d "${fastdldir}/addons" ]; then
 if [ -d "${fastdldir}/addons" ]; then
 	echo "Possible FastDL files found into addons"
 	echo "Possible FastDL files found into addons"
 	echo "Moving those files to their correct folder"
 	echo "Moving those files to their correct folder"
 	sleep 2
 	sleep 2
-	cp -Rf ${fastdldir}/addons/*/* "${fastdldir}"
+	cp -Rf "${fastdldir}"/addons/*/* "${fastdldir}"
 	rm -R "${fastdldir}/addons"
 	rm -R "${fastdldir}/addons"
 	echo "Done"
 	echo "Done"
 	sleep 1
 	sleep 1
@@ -190,7 +190,7 @@ if [ "${luaressource}" == "off" ]; then
 		rm -R "${luafastdlfullpath}"
 		rm -R "${luafastdlfullpath}"
 	fi
 	fi
 fi
 fi
-if [ "${luaressource}"" == "on" ]; then
+if [ "${luaressource}" == "on" ]; then
 	if [ -f "${luafastdlfullpath}" ]; then
 	if [ -f "${luafastdlfullpath}" ]; then
 		echo "Removing old download enforcer"
 		echo "Removing old download enforcer"
 		sleep 1
 		sleep 1