From ab92d89ca62f3a9e63ae4f8731efcdbd1d0a7202 Mon Sep 17 00:00:00 2001 From: Dmitry Kozlov Date: Fri, 15 Oct 2010 22:12:28 +0400 Subject: added cpack interface to generate deb packages --- cmake/debian/postinst | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 cmake/debian/postinst (limited to 'cmake/debian/postinst') diff --git a/cmake/debian/postinst b/cmake/debian/postinst new file mode 100755 index 0000000..c85dc84 --- /dev/null +++ b/cmake/debian/postinst @@ -0,0 +1,11 @@ +#!/bin/sh + +chmod +x /etc/init.d/accel-pptp + +mkdir /var/log/accel-pptp &> /dev/null + +if [ -f /tmp/__accel-pptp.conf ]; then + mv /tmp/__accel-pptp.conf /etc/accel-pptp.conf +fi + +exit 0 -- cgit v1.2.3