From 1a8a0e5f737ed685cfa2babf1263db5a7fc953f7 Mon Sep 17 00:00:00 2001
From: Thuban <thuban@yeuxdelibad.net>
Date: Sat, 15 Dec 2018 20:00:03 +0000
Subject: [PATCH] up ver

---
 Makefile |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile
index 92f620b..94258e0 100644
--- a/Makefile
+++ b/Makefile
@@ -21,6 +21,9 @@
 	@chmod 755 ${DESTDIR}${PREFIX}/bin/vilainreport
 	@chmod 644 ${DESTDIR}${PREFIX}/sbin/vilain.py
 	@chmod 644 ${DESTDIR}${PREFIX}/sbin/vilainreport.py
+	@echo installing sample config file
+	@cp -f vilain.conf /etc/vilain.conf
+	@chmod 644 /etc/vilain.conf
 	@echo installing init script in /etc/rc.d
 	@cp -f vilain.rc /etc/rc.d/vilain
 	@chmod 755 /etc/rc.d/vilain
@@ -38,5 +41,6 @@
 	@rm -f ${DESTDIR}${PREFIX}/sbin/vilainreport.py
 	@echo removing manual page to ${DESTDIR}${MANPREFIX}/
 	@rm -f ${DESTDIR}${MANPREFIX}/vilain.1
+	@echo Remove configuration file manually if you want, located at /etc/vilain.conf
 
 .PHONY: install uninstall

--
Gitblit v1.9.3