Set 'install -m xyz' on update
This commit is contained in:
parent
caae2d484b
commit
e6a79a5111
1 changed files with 2 additions and 2 deletions
|
@ -26,9 +26,9 @@ perform_update()
|
|||
target="${installdir}/${file}"
|
||||
parent=$(dirname "${target}")
|
||||
if [ ! -e "${parent}" ]; then
|
||||
run_install "-d" "${parent}"
|
||||
run_install "-d" "-m" "u=rwx,g=rwx,o=" "${parent}"
|
||||
fi
|
||||
run_install "${file}" "${target}"
|
||||
run_install "-m" "u=rw,g=rw,o=" "${file}" "${target}"
|
||||
done
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue