Easily add repositories from launchpad for Debian systems.
- apt
- apt-key
- Download or clone this repository
git clone git@github.com:timothyvanderaerden/add-apt-repository.git
- Make the script executable
chmod +x ./add-apt-repository
- (optional) Use it as a global command
sudo mv add-apt-repository /usr/bin
sudo ./add-apt-repository ppa:user/package
The script will automaticly take the package for xenial. You can change this:
sudo ./add-apt-repository ppa:user/package zesty