summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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