1 |
unnilennium |
1.1 |
diff -up smeserver-wordpress-1.0/createlinks.patch4 smeserver-wordpress-1.0/createlinks |
2 |
|
|
--- smeserver-wordpress-1.0/createlinks.patch4 2013-11-05 16:53:37.000000000 -0500 |
3 |
|
|
+++ smeserver-wordpress-1.0/createlinks 2013-11-05 17:07:49.000000000 -0500 |
4 |
|
|
@@ -13,3 +13,7 @@ use esmith::Build::CreateLinks qw(:all); |
5 |
|
|
# services to launch on event |
6 |
|
|
safe_symlink("sigusr1", "root/etc/e-smith/events/conf-wordpress/services2adjust/httpd-e-smith"); |
7 |
|
|
safe_symlink("restart", "root/etc/e-smith/events/conf-wordpress/services2adjust/mysql.init"); |
8 |
|
|
+ |
9 |
|
|
+# actions to perform |
10 |
|
|
+ safe_symlink("../actions/wordpress", "root/etc/e-smith/events/conf-wordpress/20wordpress"); |
11 |
|
|
+ safe_symlink("../actions/wordpress", "root/etc/e-smith/events/bootstrap-console-save/20wordpress"); |
12 |
|
|
\ Pas de fin de ligne à la fin du fichier. |
13 |
|
|
diff -up smeserver-wordpress-1.0/root/etc/e-smith/events/actions/wordpress.patch4 smeserver-wordpress-1.0/root/etc/e-smith/events/actions/wordpress |
14 |
|
|
--- smeserver-wordpress-1.0/root/etc/e-smith/events/actions/wordpress.patch4 2013-11-05 17:03:03.000000000 -0500 |
15 |
|
|
+++ smeserver-wordpress-1.0/root/etc/e-smith/events/actions/wordpress 2013-11-05 17:03:23.000000000 -0500 |
16 |
|
|
@@ -0,0 +1,4 @@ |
17 |
|
|
+#!/usr/bin/perl |
18 |
|
|
+ |
19 |
|
|
+system('chown www:root -R /usr/share/wordpress'); |
20 |
|
|
+ |