1.1 --- a/test/zsh.spec Thu May 14 05:55:19 2009 +0100
1.2 +++ b/test/zsh.spec Thu Oct 01 20:02:12 2009 +0100
1.3 @@ -35,7 +35,7 @@
1.4 if prefix==nil then
1.5 prefix="/usr"
1.6 end
1.7 -if posix.stat(prefix.."/bin/zip")~=nil then
1.8 +if arg[2]==1 and posix.stat(prefix.."/bin/zip")~=nil then
1.9 mkdir_missing(prefix.."/var")
1.10 mkdir_missing(prefix.."/var/lib")
1.11 posix.mkdir(prefix.."/var/lib/zsh")
1.12 @@ -49,7 +49,7 @@
1.13 if prefix==nil then
1.14 prefix="/usr"
1.15 end
1.16 -if posix.stat(prefix.."/bin/zip")~=nil then
1.17 +if arg[2]==0 and posix.stat(prefix.."/bin/zip")~=nil then
1.18 os.remove(prefix.."/var/lib/zsh/data.zip")
1.19 os.remove(prefix.."/var/lib/zsh")
1.20 end