Added wg and wg-quick aliases

This commit is contained in:
Andreas Runfalk 2019-03-18 20:02:33 +01:00
parent 6515062c4d
commit 0c4a048eed
2 changed files with 6 additions and 0 deletions

3
scripts/postinst Executable file
View File

@ -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/

3
scripts/preuninst Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash
rm /usr/local/bin/wg
rm /usr/local/bin/wg-quick