config/stderred/install.sh
2017-03-17 15:34:02 -07:00

8 lines
202 B
Bash
Executable File

#!/bin/sh
if ! grep 'stderred.so' ~/.bash_profile; then
echo 'export LD_PRELOAD=$LD_PRELOAD:"~/.local/lib64/stderred.so"' >> ~/.bash_profile
fi
mkdir -p ~/.local/lib64
cp stderred.so ~/.local/lib64/