summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scripts/makepkg.sh.in2
1 files changed, 2 insertions, 0 deletions
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