#! /bin/bash set -e if [[ "$1" == "install" ]] then apt install -y ${@:2} else apt remove -y ${@:2} apt autoremove -y fi exit 0