summaryrefslogtreecommitdiff
path: root/librerelease
diff options
context:
space:
mode:
authorJoe <joe@joelightning.com>2012-02-10 14:36:12 +0000
committerJoe <joe@joelightning.com>2012-02-10 14:36:12 +0000
commitfd73476296f589bb5fbf52be54764e46553aa41c (patch)
treeefd00c24972d8347c3c7b4185729cc46d212ea90 /librerelease
parent8aed527e5a5a4957adc79b5270cf46b20b66d92c (diff)
Fix the permissions so the user won't get access denied error when they try to
install the package.
Diffstat (limited to 'librerelease')
-rwxr-xr-xlibrerelease8
1 files changed, 8 insertions, 0 deletions
diff --git a/librerelease b/librerelease
index 3021393..e1bf210 100755
--- a/librerelease
+++ b/librerelease
@@ -120,6 +120,14 @@ else
exit 1
fi
+# Make the permissions of the packages 644 otherwize the user will get access
+# denied error when they try to download (rsync --no-perms doesn't seem to
+# work).
+for file in ${WORKDIR}/staging/*
+do
+ chmod 644 "${file}" # Now you will never access deny me again! HAHAHAHAHAHA!
+done
+
msg "Uploading packages..."
rsync --recursive \
${dryrun} \