summarylogtreecommitdiffstats
path: root/geant4-neutronhpdata.install
blob: 112f352fbedb1ce925838d8cb1cb0238962bc884 (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='G4NEUTRONHPDATA'

_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
}