When I run these commands together, the 'unzip' says:
"unzip: cannot find or ope /tmp/SOME.zip, /tmp/SOME.zip.zip, or /tmp/SOME.zip.ZIP"
wget https://s3-us-west-1.amazonaws.com/x/y/z/SOME.zip -O /tmp/SOME.zip
unzip /tmp/SOME.zip -d /opt
However, when I run them individually, they both work successfully on their own.
Other details:
try putting the commands together:
wget https://s3-us-west-1.amazonaws.com/x/y/z/SOME.zip -O /tmp/SOME.zip && unzip /tmp/SOME.zip -d /opt