diff options
Diffstat (limited to 'libtransistor-git.install')
-rw-r--r-- | libtransistor-git.install | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/libtransistor-git.install b/libtransistor-git.install index fe73121695b0..0012a1e72bbd 100644 --- a/libtransistor-git.install +++ b/libtransistor-git.install @@ -1,4 +1,6 @@ -post_install() -{ - echo "set LIBTRANSISTOR_HOME=/opt/libtransistor" +post_install() { + echo "export LIBTRANSISTOR_HOME=/opt/libtransistor" > /etc/profile.d/libtransistor.sh +} +post_remove(){ + rm /etc/profile.d/libtransistor.sh } |