summarylogtreecommitdiffstats
path: root/geant4-levelgammadata.install
blob: 3250f884b714b89db4b7c4231f2dfe3c3b163269 (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='G4LEVELGAMMADATA'

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