Make all installs be executeable

This commit is contained in:
Daniel Pätzold
2026-03-10 16:47:11 +01:00
parent 67a932bee1
commit 7e7b7753bb
+2
View File
@@ -66,6 +66,8 @@ fi
#Files must be owned by root (we are root!) #Files must be owned by root (we are root!)
chown root:${CLIENTADMINGROUP} -R ${CLIENT_SOFTWARE_DST} chown root:${CLIENTADMINGROUP} -R ${CLIENT_SOFTWARE_DST}
chmod ug+rwX,o-rwx -R ${CLIENT_SOFTWARE_DST} chmod ug+rwX,o-rwx -R ${CLIENT_SOFTWARE_DST}
#Make all install.sh executable
find ${CLIENT_SOFTWARE_DST} -type f -name install.sh -exec chmod ug+x {} \;
if [ -f "${CLIENT_SOFTWARE_DST}/install.sh" ]; then if [ -f "${CLIENT_SOFTWARE_DST}/install.sh" ]; then
chmod u+x "${CLIENT_SOFTWARE_DST}/install.sh" chmod u+x "${CLIENT_SOFTWARE_DST}/install.sh"
fi fi