I'd like to make sure the "partner" sources has been added within a script no matter the release of ubuntu i'm dealing with.

So far I've got :

```
#!/bin/sh
sudo sed -i 's/# deb http:\/\/archive.canonical.com\/ubuntu xenial partner/deb http:\/\/archive.canonical.com\/ubuntu xenial partner/' /etc/apt/sources.list

```

Since this is a file in `/etc` I added `sudo` I imagine that's mandatory.

How would I get this to work cross-release?

thank you.