#! /bin/bash set -e if dpkg -s "$1" then apt remove -y "$1" apt autremove -y else apt install -y "$1" fi exit 0