remove -C from install

for compatibility with alpine busybox version
master
David Kebler 2023-03-19 11:32:51 -07:00
parent 9c379eda85
commit 3ea7ae75d1
1 changed files with 1 additions and 1 deletions

View File

@ -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 *******" echo -e "*********** copying UCI BASH Shell .profile and bash_profile and .bashrc for user: $user *******"
files=$(find $install_dir/files/user -type f) files=$(find $install_dir/files/user -type f)
for file in $files; do 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 done
if [[ ! subdir == "shell" ]]; then if [[ ! subdir == "shell" ]]; then