1 2 3 4 5 6
post_install() { echo "export LIBTRANSISTOR_HOME=/opt/libtransistor" > /etc/profile.d/libtransistor.sh } post_remove(){ rm /etc/profile.d/libtransistor.sh }