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}")
|
parent=$(dirname "${parent}")
|
||||||
done
|
done
|
||||||
for dir in ${parents}; do
|
for dir in ${parents}; do
|
||||||
run_install "-d" "-m" "${mode}" "${dir}"
|
run_install "-d" "${dir}"
|
||||||
done
|
done
|
||||||
run_install "-m" "${mode}" "${file}" "${target}"
|
run_install "${file}" "${target}"
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -53,7 +53,7 @@ perform_install()
|
||||||
|
|
||||||
run_install()
|
run_install()
|
||||||
{
|
{
|
||||||
install -o root -g _portzap -v "$@"
|
install -o root -g _portzap -m "${mode}" -v "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
##
|
##
|
||||||
|
|
Loading…
Reference in a new issue