From 0eda63842c7f6f97a6d7ab3a2221aa2098046a15 Mon Sep 17 00:00:00 2001 From: Nyr Date: Sun, 4 Aug 2013 14:22:02 +0200 Subject: [PATCH] Remove temporary files when they are no longer needed --- openvpn-install.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/openvpn-install.sh b/openvpn-install.sh index 84fc8a4..23a2074 100755 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -5,8 +5,6 @@ # it will probably work if you simply want to setup a VPN on your Debian/Ubuntu # VPS. It has been designed to be as unobtrusive and universal as possible. -# Last update, May 14, 2013 by Nyr - if [ $USER != 'root' ]; then echo "Sorry, you need to run this as root" @@ -134,6 +132,7 @@ else tar xzf ~/easy-rsa.tar.gz -C ~/ mkdir -p /etc/openvpn/easy-rsa/2.0/ cp ~/easy-rsa-master/easy-rsa/2.0/* /etc/openvpn/easy-rsa/2.0/ + rm -r ~/easy-rsa-master fi cd /etc/openvpn/easy-rsa/2.0/ # Let's fix one thing first...