view scripts/install.sh @ 2020:163f88f7ee00 default tip

for nabble
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 05 Oct 2025 20:43:42 -0600
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"