From 0c4a048eedc932262340f353a2845b3be82f8774 Mon Sep 17 00:00:00 2001 From: Andreas Runfalk Date: Mon, 18 Mar 2019 20:02:33 +0100 Subject: [PATCH] Added wg and wg-quick aliases --- scripts/postinst | 3 +++ scripts/preuninst | 3 +++ 2 files changed, 6 insertions(+) create mode 100755 scripts/postinst create mode 100755 scripts/preuninst diff --git a/scripts/postinst b/scripts/postinst new file mode 100755 index 0000000..4d62e12 --- /dev/null +++ b/scripts/postinst @@ -0,0 +1,3 @@ +#!/bin/bash +ln -s $SYNOPKG_PKGDEST/wireguard/wg /usr/local/bin/ +ln -s $SYNOPKG_PKGDEST/wireguard/wg-quick /usr/local/bin/ diff --git a/scripts/preuninst b/scripts/preuninst new file mode 100755 index 0000000..c0cc74b --- /dev/null +++ b/scripts/preuninst @@ -0,0 +1,3 @@ +#!/bin/bash +rm /usr/local/bin/wg +rm /usr/local/bin/wg-quick