aboutsummaryrefslogtreecommitdiff
path: root/index.cgi
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xindex.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/index.cgi b/index.cgi
index 82ed38c..cbf13a1 100755
--- a/index.cgi
+++ b/index.cgi
@@ -450,14 +450,14 @@ HEAD
`bzr init`
File.symlink("../index.cgi","index.cgi")
File.symlink("../dudle.css","dudle.css")
+ File.open("data.yaml","w").close
+ `bzr add data.yaml`
case $cgi["poll_type"]
when "Poll"
Poll.new SITE
when "DatePoll"
DatePoll.new SITE
end
- `bzr add data.yaml`
- `bzr commit -m "initial commit"`
Dir.chdir("..")
else
puts "<fieldset><legend>Error</legend>This poll already exists!</fieldset>"