summarylogtreecommitdiffstats
path: root/geant4-saiddata.install
blob: b5b26166937b46b65d3e2a3458d491b73852b644 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh

_varname='G4SAIDXSDATA'

_remove() {
    ## from the time where this variables where stored in this one script
    sed -n -i "/${_varname}/d" /etc/profile.d/geant4.sh  2>/dev/null
    sed -n -i "/${_varname}/d" /etc/profile.d/geant4.csh 2>/dev/null
}

pre_install() {
    _remove
}
pre_upgrade() {
    _remove
}
pre_remove() {
    _remove
}
post_remove() {
    _remove
}