diff options
Diffstat (limited to 'prepare.sh')
| -rwxr-xr-x | prepare.sh | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/prepare.sh b/prepare.sh new file mode 100755 index 0000000..b0ebb48 --- /dev/null +++ b/prepare.sh @@ -0,0 +1,42 @@ +#!/bin/bash + +mkdir -p run/wordpress +cp -r wordpress/* run/wordpress/ +chown -R 33:33 run/wordpress + +mkdir -p run/html +chown -R 33:33 run/html + +mkdir -p run/html/wp-admin +mkdir -p run/html/wp-content +mkdir -p run/html/wp-includes +touch run/html/index.php +touch run/html/license.txt +touch run/html/readme.html +touch run/html/wp-activate.ph +touch run/html/wp-blog-header.php +touch run/html/wp-comments-post.php +touch run/html/wp-cron.php +touch run/html/wp-links-opml.php +touch run/html/wp-load.php +touch run/html/wp-login.php +touch run/html/wp-mail.php +touch run/html/wp-settings.php +touch run/html/wp-signup.php +touch run/html/wp-trackback.php +touch run/html/xmlrpc.php + +touch run/html/wp-config.php + +mkdir -p run/wp-content +touch run/wp-content/index.php +mkdir -p run/wp-content/plugins +chown -R 33:33 run/wp-content +touch run/wp-content/plugins/index.php +touch run/wp-content/plugins/hello.php + +mkdir -p run/wp-content/plugins/bootstrap-file-list + +mkdir -p run/wp-content/themes/ +mkdir -p run/wordpress/wp-content/themes/farafeit + |
