Commit 903788c2 authored by David Kempe's avatar David Kempe
Browse files

fix bugs in build and install scripts for bash completion

parent f19fda3f
openvpn-server (0.8.2) hardy lucid precise; urgency=low
* Add dependcy for bash-completion and initalize bash completion ovs script
-- Sol1 Packages <packages@sol1.com.au> Fri, 08 Jan 2016 17:15:00 +1000
openvpn-server (0.8.1) hardy lucid precise; urgency=low
* Refactor makestaticip.sh and rename to make-static-ip
......
......@@ -7,7 +7,7 @@ Standards-Version: 3.6.1
Package: openvpn-server
Architecture: all
Depends: openvpn, openssl, nsis (>= 2.06-4), zip, ucf, ${misc:Depends}, bc, cryptsetup, ifstat, bsd-mailx, sharutils
Depends: openvpn, openssl, nsis (>= 2.06-4), zip, ucf, ${misc:Depends}, bc, cryptsetup, ifstat, bsd-mailx, sharutils, bash-completion
Description: A system to assist the management of OpenVPN servers
Provides a simplified OpenVPN server configuration at installation time,
and a set of scripts to automatically create Windows and Linux client
......
......@@ -211,4 +211,9 @@ rm -rf $TMPCONF
# Reload openvpn to take into account any changed settings
/usr/sbin/invoke-rc.d openvpn reload
# Initalise ovs bash completion for this session
if [ -f /etc/bash_completion.d/ovs ] ; then
. /etc/bash_completion.d/ovs
fi
##DEBHELPER##
......@@ -35,7 +35,7 @@ install: build
mkdir -p $(DESTDIR)/usr/share/nsis/Plugins/
cp plugins/KillProc.dll $(DESTDIR)/usr/share/nsis/Plugins/KillProc.dll
#Bash completion
mkdir -p $(DESTDIR)/etc/bash_completion.d/
cp bash_completion.d/ovs $(DESTDIR)/etc/bash_completion.d/ovs
chmod 644 $(DESTDIR)/etc/bash_completion.d/ovs
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment