Browse Source

double quotes and stuff

pull/709/head
lrob 9 years ago
parent
commit
c875598a5a
  1. 6
      functions/command_fastdl.sh

6
functions/command_fastdl.sh

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

Loading…
Cancel
Save