From f3896398d48d7c1ee6b9acd1b14bb01a8a02c1df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Ke=C3=9Fler?= Date: Tue, 26 Jul 2022 20:47:25 +0200 Subject: [PATCH] add makefile to install --- scripts/Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 scripts/Makefile diff --git a/scripts/Makefile b/scripts/Makefile new file mode 100644 index 0000000..60aaccf --- /dev/null +++ b/scripts/Makefile @@ -0,0 +1,11 @@ +PKGDIR=mkessler/university-setup + +install: + mkdir -p /etc/opt/${PKGDIR}/ + mkdir -p /opt/${PKGDIR}/ + cp -r config/. /etc/opt/${PKGDIR}/ + cp -r src/. /opt/${PKGDIR} + +uninstall: + rm -rf /etc/opt/${PKGDIR}/ + rm -rf /opt/${PKGDIR}