pthbs

Packaging Through Hashed Build Scripts
git clone https://ccx.te2000.cz/git/pthbs
Log | Files | Refs | Submodules | README

commit 7b42f222a07f29d9da1059ee152a58626731307c
parent e23e81efb8eae1861c352b1eb9b9a31da8448597
Author: ccx <ccx@te2000.cz>
Date:   Tue, 27 Feb 2024 01:39:10 +0000

Remove write permissions during install

Diffstat:
Mcommand/pthbs-install | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/command/pthbs-install b/command/pthbs-install @@ -21,6 +21,7 @@ fi if test -n "$pthbs_install_uid"; then chown -R "$pthbs_install_uid:$pthbs_install_gid" "$pthbs_destdir/${pthbs_versions%/}/$pthbs_package" fi +chmod -R ugo-w "$pthbs_destdir/${pthbs_versions%/}/$pthbs_package" pthbs-digest-tree >"$pthbs_destdir/pthbs-digest" "$pthbs_destdir/${pthbs_versions%/}/$pthbs_package/" || exit $? mv "$pthbs_destdir/pthbs-digest" "$pthbs_destdir/${pthbs_versions%/}/$pthbs_package/.pthbs-digest" || exit $?