You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
123456789101112131415161718 |
- #! /usr/bin/env sh
-
- event="${1}"
- host="${2}"
- root_dir="${3}"
- conf_conf="${4}"
- conf_include="${5}"
- site_conf="${6}"
- site_include="${7}"
-
- if [ "${event}" != "post" ]
- then
- exit 0
- fi
-
- user=$(logname)
- echo "chown to ${user}"
- chown ${user}:${user} ${root_dir}
|