summaryrefslogtreecommitdiff
path: root/createentities
diff options
context:
space:
mode:
authordeva <deva>2008-10-06 18:36:37 +0000
committerdeva <deva>2008-10-06 18:36:37 +0000
commita60a6d7c79a9da364870ae6f6e91edf071c097b9 (patch)
treefdcb1eb4e5c9f687fcd8c6767bfd8cf428c862d9 /createentities
parent415e90a2e059ea32f6851dfb9b3c018b0a731a81 (diff)
Added script for creating new empty configuration.
Diffstat (limited to 'createentities')
-rwxr-xr-xcreateentities11
1 files changed, 11 insertions, 0 deletions
diff --git a/createentities b/createentities
new file mode 100755
index 0000000..420d84d
--- /dev/null
+++ b/createentities
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+if test -f forum/data/users.xml
+then
+ echo "forum/data/users.xml already exists."
+else
+ echo "Creating forum/data/users.xml"
+ echo "<?xml version='1.0' encoding='UTF-8'?>" > forum/data/users.xml
+ echo "<users>" >> forum/data/users.xml
+ echo "</users>" >> forum/data/users.xml
+fi