summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordeva <deva>2010-03-02 15:02:35 +0000
committerdeva <deva>2010-03-02 15:02:35 +0000
commite7b6866edef753c3b0b2a4a4444e46141016493f (patch)
treef594fae57bfa05e3f8608c5876eebe770ee87fa5
parentc34ccc130e2a507c266ee54a163cdf3a5886d63d (diff)
Update script to actually work on new site.
-rwxr-xr-xcreateentities13
1 files changed, 1 insertions, 12 deletions
diff --git a/createentities b/createentities
index 1ea8d53..1c3fbba 100755
--- a/createentities
+++ b/createentities
@@ -9,7 +9,7 @@ if test -f data/users.xml
then
echo "data/users.xml already exists."
else
- echo "Creating data/users.xml"
+ echo "Creating data/users.xml with the user 'admin' password: 'executioncms'. Please log in and change this..."
echo "<?xml version='1.0' encoding='UTF-8'?>" > data/users.xml
echo "<users>" >> data/users.xml
echo " <user userid='admin' password='8456c0209aaa9ca04730a3160caf6e5e6b5ea389'/>" >> data/users.xml
@@ -18,17 +18,6 @@ else
chmod g+wr data/users.xml
fi
-#
-# Create config files
-#
-if test -f htdocs/config.php
-then
- echo "htdocs/config.php already exists"
-else
- echo "Creating htdocs/config.php"
- cp htdocs/config.php.defaults htdocs/config.php
-fi
-
if test -f forum/htdocs/config.php
then
echo "forum/htdocs/config.php already exists"