config/stderred/install.sh

8 lines
202 B
Bash
Raw Normal View History

#!/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/