From e2ccb4c0495ae48358c4ac7da434e5889ac8d87b Mon Sep 17 00:00:00 2001 From: Taloth Saldono Date: Sat, 10 Nov 2018 01:24:42 +0100 Subject: [PATCH] Deal with wrong permissions for folders. --- distribution/debian.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/distribution/debian.sh b/distribution/debian.sh index 6ac107666..b05c2aeff 100644 --- a/distribution/debian.sh +++ b/distribution/debian.sh @@ -2,7 +2,8 @@ fromdos ./debian/* echo Version: "$dependent_build_number" Branch: "$dependent_build_branch" rm -r ./sonarr_bin/Sonarr.Update -chmod -R 664 ./sonarr_bin/* +rm ./sonarr_bin/System.Runtime.InteropServices.RuntimeInformation.dll +chmod -R ugo-x,ugo+rwX,go-w ./sonarr_bin/* echo Updating changelog sed -i "s/{version}/$dependent_build_number/g" debian/changelog