From 449c078661046665ba0cc87a0f632085a77df8a5 Mon Sep 17 00:00:00 2001 From: dweller Date: Thu, 16 Jan 2025 17:18:45 +0200 Subject: initial commit --- install.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 install.sh (limited to 'install.sh') diff --git a/install.sh b/install.sh new file mode 100755 index 0000000..5167c8d --- /dev/null +++ b/install.sh @@ -0,0 +1,9 @@ +#!/bin/sh -e + +BINDIR=${BINDIR:-bin} +PREFIX=${PREFIX:-/usr/local} + +install -d "${DESTDIR}${PREFIX}/${BINDIR}" +install -sm 755 urltool "${DESTDIR}${PREFIX}/${BINDIR}" +ln -rsf "${DESTDIR}${PREFIX}/${BINDIR}/urltool" "${DESTDIR}${PREFIX}/${BINDIR}/urldec" +ln -rsf "${DESTDIR}${PREFIX}/${BINDIR}/urltool" "${DESTDIR}${PREFIX}/${BINDIR}/urlenc" -- cgit v1.2.3