From 4a7be471b25b5c7b36b0128cf1c98d2974d2762e Mon Sep 17 00:00:00 2001 From: pgrondek Date: Thu, 11 Jul 2019 22:41:04 +0200 Subject: [PATCH] [packages] Added makefile to install packages --- packages/Makefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 packages/Makefile diff --git a/packages/Makefile b/packages/Makefile new file mode 100644 index 0000000..02ea4e0 --- /dev/null +++ b/packages/Makefile @@ -0,0 +1,14 @@ +PACKAGES=vim git traceroute command-not-found dnsutils firefox +RM_PACKAGES=nano + +APT=aptitude +APTITUDE=/usr/bin/aptitude + +install: $(APTITUDE) + $(APT) update + $(APT) install -y $(PACKAGES) + $(APT) purge -y $(RM_PACKAGES) + +$(APTITUDE): + apt update + apt install $(APT)