summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Baptiste Boric <jblbeurope@gmail.com>2021-08-07 14:04:29 +0200
committerAndreas Kling <kling@serenityos.org>2021-08-12 18:56:30 +0200
commitc9d287b2267d4265034a6e798c9386413cd54d80 (patch)
tree8d48ecf3fc3befd46c725d9b0e008435fedcd86f
parent208428916227ef3ef219000d85116388a95680e9 (diff)
downloadserenity-c9d287b2267d4265034a6e798c9386413cd54d80.zip
Ports: Add awk symlink to mawk port
-rwxr-xr-xPorts/mawk/package.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/Ports/mawk/package.sh b/Ports/mawk/package.sh
index 8f4085e366..edd4420909 100755
--- a/Ports/mawk/package.sh
+++ b/Ports/mawk/package.sh
@@ -7,3 +7,7 @@ useconfigure=true
auth_type="sig"
auth_import_key="C52048C0C0748FEE227D47A2702353E0F7E48EDB"
auth_opts="mawk-${version}.tgz.asc mawk-${version}.tgz"
+
+post_install() {
+ ln -sf mawk "${SERENITY_INSTALL_ROOT}/usr/local/bin/awk"
+}