diff options
author | dweller <dweller@cabin.digital> | 2025-01-16 17:18:45 +0200 |
---|---|---|
committer | dweller <dweller@cabin.digital> | 2025-01-16 17:18:45 +0200 |
commit | 449c078661046665ba0cc87a0f632085a77df8a5 (patch) | |
tree | f28f961cf2c07e37fb77e34a882e5ba87e411eb3 /install.sh |
Diffstat (limited to 'install.sh')
-rwxr-xr-x | install.sh | 9 |
1 files changed, 9 insertions, 0 deletions
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" |