Set 'install -m xyz' on update

This commit is contained in:
0x1eef 2024-04-18 13:45:01 -03:00
parent caae2d484b
commit e6a79a5111

View file

@ -26,9 +26,9 @@ perform_update()
target="${installdir}/${file}" target="${installdir}/${file}"
parent=$(dirname "${target}") parent=$(dirname "${target}")
if [ ! -e "${parent}" ]; then if [ ! -e "${parent}" ]; then
run_install "-d" "${parent}" run_install "-d" "-m" "u=rwx,g=rwx,o=" "${parent}"
fi fi
run_install "${file}" "${target}" run_install "-m" "u=rw,g=rw,o=" "${file}" "${target}"
done done
} }