Commit a590a682 authored by Lindsay Harvey's avatar Lindsay Harvey
Browse files

Fix incorrect directories specified in mkdeb script

parent 2a3c9499
......@@ -12,26 +12,39 @@ destdir="${name}_${version}"
mkdir -p $destdir/DEBIAN
cp debian/control debian/postinst debian/postrm $destdir/DEBIAN
mkdir -p $destdir/usr/share/openvpn-server/config-templates $destdir/usr/share/openvpn-server/ovs-commands
cp config/* $destdir/usr/share/openvpn-server/config-templates
cp scripts/* $destdir/usr/share/openvpn-server/ovs-commands
mkdir -p $destdir/usr/lib/openvpn-server/ovs-commands
cp scripts/* $destdir/usr/lib/openvpn-server/ovs-commands
mkdir -p $destdir/usr/sbin
cp bin/ovs $destdir/usr/sbin
mkdir -p $destdir/usr/lib/openvpn-server/windows-client $destdir/usr/lib/openvpn-server/debian-client
cp -R clients/windows $destdir/usr/lib/openvpn-server/windows-client
cp -R clients/debian $destdir/usr/lib/openvpn-server/debian-client
mkdir -p $destdir/usr/share/doc/openvpn-server
cp debian/changelog $destdir/usr/share/doc/openvpn-server
cp debian/copyright $destdir/usr/share/doc/openvpn-server
mkdir -p $destdir/usr/share/nsis/Plugins
cp plugins/KillProc.dll $destdir/usr/share/nsis/Plugins
mkdir -p $destdir/usr/share/openvpn-server
cp functions.sh $destdir/usr/share/openvpn-server
cp calc-ip-range.sh $destdir/usr/share/openvpn-server
mkdir -p $destdir/usr/share/nsis/Plugins
cp plugins/KillProc.dll $destdir/usr/share/nsis/Plugins
mkdir -p $destdir/usr/share/openvpn-server/config-templates
cp config/* $destdir/usr/share/openvpn-server/config-templates
mkdir -p $destdir/usr/share/openvpn-server/windows-client $destdir/usr/share/openvpn-server/debian-client
cp -R clients/windows $destdir/usr/share/openvpn-server/windows-client
cp -R clients/debian $destdir/usr/share/openvpn-server/debian-client
mkdir -p $destdir/var/lib/openvpn-server/openvpn $destdir/var/lib/openvpn-server/openssl
mkdir -p $destdir/etc
mkdir -p $destdir/etc/openvpn-server/openssl
cp -r bash_completion.d $destdir/etc
chown -R root:root $destdir
dpkg-deb --build $destdir
Markdown is supported
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