diff -r e45f50e940b6 -r 590b9e4d837d test/zsh.spec --- a/test/zsh.spec Thu May 14 05:55:19 2009 +0100 +++ b/test/zsh.spec Thu Jul 09 00:01:18 2009 +0100 @@ -35,7 +35,7 @@ if prefix==nil then prefix="/usr" end -if posix.stat(prefix.."/bin/zip")~=nil then +if arg[2]==1 and posix.stat(prefix.."/bin/zip")~=nil then mkdir_missing(prefix.."/var") mkdir_missing(prefix.."/var/lib") posix.mkdir(prefix.."/var/lib/zsh") @@ -49,7 +49,7 @@ if prefix==nil then prefix="/usr" end -if posix.stat(prefix.."/bin/zip")~=nil then +if arg[2]==0 and posix.stat(prefix.."/bin/zip")~=nil then os.remove(prefix.."/var/lib/zsh/data.zip") os.remove(prefix.."/var/lib/zsh") end