From 100b40a36f86952b643876f508f8b3816401d99b Mon Sep 17 00:00:00 2001 From: pablofsf <ablocorrea@hotmail.com> Date: Wed, 21 Mar 2018 02:11:21 +0100 Subject: [PATCH] Install initial configuration file --- helpers/make-redshift | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/helpers/make-redshift b/helpers/make-redshift index 91f7f2f8..0916a506 100644 --- a/helpers/make-redshift +++ b/helpers/make-redshift @@ -24,6 +24,15 @@ VERSION=1 sed 's/enable-geoclue2/disable-geoclue2/' -i debian/rules sed '/geoclue/d' -i debian/control +if [ -f debian/example-redshift.conf ] +then + cp debian/example-redshift.conf debian/redshift.conf + echo "debian/redshift.conf /etc" >> debian/redshift.install +else + echo "Error, example configuration file not found" + exit +fi + changelog "Disabled geoclue" compile -- GitLab