summaryrefslogtreecommitdiff
path: root/libre/abuse/abuse.sh
blob: 5ffdf9078e075d9f4ff348a210bccc174faa6050 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash

# Copy over sane configuration files, unless they already exists
if [ ! -d $HOME/.abuse ]; then
  mkdir -p $HOME/.abuse
fi
if [ ! -f $HOME/.abuse/abuserc ]; then
  cp /usr/share/abuse/default.abuserc $HOME/.abuse/abuserc
fi
if [ ! -f $HOME/.abuse/gamma.lsp ]; then
  cp /usr/share/abuse/default.gamma.lsp $HOME/.abuse/gamma.lsp
fi

# Run abuse
exec /usr/bin/abuse.elf "$@"