#!/bin/bash
rm -rf /etc/vpnsecure
mkdir /etc/vpnsecure
apt-get --force-yes install openvpn curl gksu iputils-ping -y
echo if using a version of ubuntu less then 16.x install apt-get install resolvconf -y
cd /etc/vpnsecure
echo downloading vpn application..
curl --insecure -o vpnsecure-2.0.8-ia32.tar.gz https://downloads-us.vpnsecure.me/vpnsecure-2.0.8-ia32.tar.gz
tar -xvzf vpnsecure-2.0.8-ia32.tar.gz --strip-components 1
cp vpnsecure.desktop /usr/share/applications/
chmod +x /etc/vpnsecure/vpnsecure
Installation finished, if using Ubuntu, you can open from the vpnsecure shortcut in the Unity menu, otherwise goto /etc/vpnsecure and type sudo ./vpnsecure
./vpnsecure
exit 0
