view scripts/install.sh @ 2167:1f384f9acb1c default tip

fix; use absolute path for acme challenge dir in Https.luan
author Violet7
date Sun, 08 Feb 2026 14:42:01 -0800
parents c691cf51c2a7
children
line wrap: on
line source

#!/bin/bash
set -e

cd "$(dirname $0)"

mkdir -p /usr/local/bin

cat >/usr/local/bin/luan <<End
#!/bin/bash

source "$(pwd)/luan.sh" "\$@"
End

chmod +x /usr/local/bin/luan

echo "the command 'luan' has been installed"