summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Wright2016-12-28 13:46:22 +0000
committerJonathan Wright2016-12-28 13:46:22 +0000
commitc944ff12d1fd0990c1ef3128af91f3a55607fe4f (patch)
tree680dd5cfa6f2dcc43cf04cc372f3a1c36e268371
parentb2ac051fcb9192cd62aaf03ff0bce34f91fedceb (diff)
downloadaur-c944ff12d1fd0990c1ef3128af91f3a55607fe4f.tar.gz
Correct post_install message for OpenVPN 2.4 support
-rw-r--r--openvpn-update-systemd-resolved.install24
1 files changed, 9 insertions, 15 deletions
diff --git a/openvpn-update-systemd-resolved.install b/openvpn-update-systemd-resolved.install
index cb17a8547d7b..05a6b59d003b 100644
--- a/openvpn-update-systemd-resolved.install
+++ b/openvpn-update-systemd-resolved.install
@@ -1,19 +1,13 @@
-note() {
- printf "${blue}==>${yellow} NOTE:${bold} $1${all_off}\n"
-}
-
-all_off="$(tput sgr0)"
-bold="${all_off}$(tput bold)"
-blue="${bold}$(tput setaf 4)"
-yellow="${bold}$(tput setaf 3)"
-
post_install() {
- note "To complete the installation, please add this script to your OpenVPN"
- note "settings for each of the VPNs you wish it to manage the DNS for:"
- note " setenv PATH /usr/bin"
- note " script-security 2"
- note " up /etc/openvpn/update-systemd-resolved"
- note " down-pre /etc/openvpn/update-systemd-resolved"
+ echo
+ echo "To complete the installation, please add this script to your OpenVPN"
+ echo "settings for each of the VPNs you wish it to manage the DNS for:"
+ echo " setenv PATH /usr/bin"
+ echo " script-security 2"
+ echo " up /etc/openvpn/update-systemd-resolved"
+ echo " down /etc/openvpn/update-systemd-resolved"
+ echo " down-pre"
+ echo
}
post_upgrade() {