summaryrefslogtreecommitdiff
path: root/cmake/debian/postinst
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2010-10-15 22:12:28 +0400
committerDmitry Kozlov <xeb@mail.ru>2010-10-17 19:19:45 +0400
commitab92d89ca62f3a9e63ae4f8731efcdbd1d0a7202 (patch)
treed0071d27489056e4beea5e289e28d1d57dc516f1 /cmake/debian/postinst
parentd32cf13525153b9bb961a72cded215e9866e78bd (diff)
downloadaccel-ppp-xebd-ab92d89ca62f3a9e63ae4f8731efcdbd1d0a7202.tar.gz
accel-ppp-xebd-ab92d89ca62f3a9e63ae4f8731efcdbd1d0a7202.zip
added cpack interface to generate deb packages
Diffstat (limited to 'cmake/debian/postinst')
-rwxr-xr-xcmake/debian/postinst11
1 files changed, 11 insertions, 0 deletions
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