Make all installs be executeable
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user