From 3cd237dec34801963b8cd522038e1a86948d2c91 Mon Sep 17 00:00:00 2001 From: Allan McRae Date: Sat, 22 May 2010 22:27:14 +1000 Subject: makepkg: fix permissions on install and changelog files The .INSTALL and .CHANGELOG files in a package retained the permissions that they had in $startdir. Do a chmod after copying to ensure that the permissions are sane. Signed-off-by: Allan McRae Signed-off-by: Dan McGee --- scripts/makepkg.sh.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index 49dc7148..dec771ee 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -1013,6 +1013,7 @@ create_package() { if [[ -n $install ]]; then msg2 "$(gettext "Adding install script...")" cp "$startdir/$install" .INSTALL + chmod 644 .INSTALL comp_files="$comp_files .INSTALL" fi @@ -1020,6 +1021,7 @@ create_package() { if [[ -n $changelog ]]; then msg2 "$(gettext "Adding package changelog...")" cp "$startdir/$changelog" .CHANGELOG + chmod 644 .CHANGELOG comp_files="$comp_files .CHANGELOG" fi -- cgit v1.2.3-70-g09d2