Set mode within run_install
This commit is contained in:
parent
ece4abb9ca
commit
7c68dd5d1a
1 changed files with 3 additions and 3 deletions
|
@ -31,9 +31,9 @@ perform_update()
|
|||
parent=$(dirname "${parent}")
|
||||
done
|
||||
for dir in ${parents}; do
|
||||
run_install "-d" "-m" "${mode}" "${dir}"
|
||||
run_install "-d" "${dir}"
|
||||
done
|
||||
run_install "-m" "${mode}" "${file}" "${target}"
|
||||
run_install "${file}" "${target}"
|
||||
done
|
||||
}
|
||||
|
||||
|
@ -53,7 +53,7 @@ perform_install()
|
|||
|
||||
run_install()
|
||||
{
|
||||
install -o root -g _portzap -v "$@"
|
||||
install -o root -g _portzap -m "${mode}" -v "$@"
|
||||
}
|
||||
|
||||
##
|
||||
|
|
Loading…
Reference in a new issue