--- rpms/smeserver-user-webspace/contribs8/smeserver-user-webspace-0.1-actions.patch 2013/11/23 22:49:34 1.1 +++ rpms/smeserver-user-webspace/contribs8/smeserver-user-webspace-0.1-actions.patch 2013/11/23 23:20:29 1.2 @@ -14,10 +14,10 @@ diff -Nur smeserver-user-webspace-0.1-ol +# links to add + +# templates to expand -+ templates2events( "/etc/sysconfig/madsonic" , qw( conf-madsonic bootstrap-console-save console-save post-upgrade)); ++ + +# services to launch on event -+ safe_symlink("restart", "root/etc/e-smith/events/conf-madsonic/services2adjust/madsonic"); ++ + +#actions +for my $event (qw(user-create )) @@ -90,10 +90,10 @@ diff -Nur smeserver-user-webspace-0.1-ol -#event_link("action1", $event, "55"); -#event_link("action2", $event, "90"); +#create default directories in skel -+ my $root=$ARGV[0]; ++ #my $root=$ARGV[0]; -+ mkdir( "$root/etc/e-smith/skel/user/tmp"); -+ mkdir( "$root/etc/e-smith/skel/user/home/public_html"); ++ system( "mkdir -p root/etc/e-smith/skel/user/tmp"); ++ system( "mkdir -p root/etc/e-smith/skel/user/home/public_html"); diff -Nur smeserver-user-webspace-0.1-old/root/etc/e-smith/events/actions/user-create-profiledir-webspace smeserver-user-webspace-0.1/root/etc/e-smith/events/actions/user-create-profiledir-webspace --- smeserver-user-webspace-0.1-old/root/etc/e-smith/events/actions/user-create-profiledir-webspace 1969-12-31 19:00:00.000000000 -0500 +++ smeserver-user-webspace-0.1/root/etc/e-smith/events/actions/user-create-profiledir-webspace 2013-11-23 17:15:03.000000000 -0500