aboutsummaryrefslogtreecommitdiff
path: root/index.cgi
diff options
context:
space:
mode:
authorunknown <Benjamin.Kellermann@gmx.de>2008-10-24 08:52:36 +0200
committerunknown <Benjamin.Kellermann@gmx.de>2008-10-24 08:52:36 +0200
commit51e03bd602a6ddfc58c2dd29ffd455a469f2cc99 (patch)
treecd994e15381f1fea49e212ef878d569ca425f89e /index.cgi
parent8edc7ca1106628c8a8f78919ad0fff87c0adf142 (diff)
changed initial commit position
Diffstat (limited to 'index.cgi')
-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>"