aws / amazon-ssm-agent

An agent to enable remote management of your EC2 instances, on-premises servers, or virtual machines (VMs).
https://aws.amazon.com/systems-manager/
Apache License 2.0
1.05k stars 324 forks source link

Fix prerm/postinst "Exec format error" on Squeeze #383

Closed robmoss2k closed 3 years ago

robmoss2k commented 3 years ago

The Ubuntu prerm and postinst scripts are missing "#!/bin/bash" on the first line of the script, although this is present in the preinst script. Attempting to install on Debian Squeeze fails with "Exec format error".

ferkhat-aws commented 3 years ago

We do not support Debian Squeeze today but due to this being a very simple change, we will be accepting this PR. You will see your commit in one of the future releases.

ferkhat-aws commented 3 years ago

The commit has been merged