diff --git a/helpers/make-redshift b/helpers/make-redshift index 91f7f2f82088a7e40b1997a287270405163f1d86..0916a50682a6f947f3a2b8acb7dd78f9f50e51bf 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