blob: caf58192103260b4790c10dc89734d6b3a331575 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
#!/bin/bash
if [ -e run/wordpress ]; then
rm -r run/wordpress
fi
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
|