From dcb6c8e904717df7cbedfb943938460eb5f1712e Mon Sep 17 00:00:00 2001 From: David Schmenk Date: Sat, 20 May 2017 15:21:00 -0700 Subject: [PATCH] Update verion # --- Makefile | 2 +- debian/changelog | 6 ++++++ debian/postinst | 4 ++-- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 23615be..e08225e 100755 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ PACKAGE=a2pi -VERSION=0.2.1 +VERSION=0.2.2 DIST=$(PACKAGE)-$(VERSION) DISTDIR=./$(DIST) diff --git a/debian/changelog b/debian/changelog index 1b63430..62084b5 100755 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +a2pi (0.2.2-0) unstable; urgency=low + + * First systemd compatibility + + -- David Schmenk Sat, 20 May 2017 15:15:30 -0800 + a2pi (0.2.1-0) unstable; urgency=low * First Jessie package diff --git a/debian/postinst b/debian/postinst index 67fb661..9d0d2ea 100755 --- a/debian/postinst +++ b/debian/postinst @@ -83,8 +83,8 @@ case "$1" in # # Add a2pi service to systemd # - if [ -f /usr/share/a2pi/a2pi.service ] && [ -x systemctl ] ; then - cp /usr/share/a2pi/a2pi.service /lib/systemd/ + if [ -f /usr/share/a2pi/a2pi.service ] && [ -d /lib/systemd/system ] ; then + cp /usr/share/a2pi/a2pi.service /lib/systemd/system systemctl enable a2pi fi ;;