parent
9c379eda85
commit
3ea7ae75d1
|
@ -19,7 +19,7 @@ user_home=$( getent passwd $user | cut -d: -f6 )
|
|||
echo -e "*********** copying UCI BASH Shell .profile and bash_profile and .bashrc for user: $user *******"
|
||||
files=$(find $install_dir/files/user -type f)
|
||||
for file in $files; do
|
||||
install -C -m 660 -o $user -g ${2:-$user} $file $user_home
|
||||
install -m 660 -o $user -g ${2:-$user} $file $user_home
|
||||
done
|
||||
|
||||
if [[ ! subdir == "shell" ]]; then
|
||||
|
|
Loading…
Reference in New Issue