summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--acfupdate-model.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/acfupdate-model.lua b/acfupdate-model.lua
index b90becc..c6b87a2 100644
--- a/acfupdate-model.lua
+++ b/acfupdate-model.lua
@@ -72,7 +72,7 @@ function update(repository, sessiondata)
local dir = svndir(list)
-- If we have the directory already, but not from archive, delete it
if posix.stat(dir) and not posix.stat(dir..".svn") then
- querycmd("rm -r "..dir)
+ fs.remove_directory(dir)
if list == "core/" then
-- We have to restart the web server because we've just deleted the
mustrestart = true