summarylogtreecommitdiffstats
path: root/geant4-incldata.install
blob: 8879c05b4e4716bd7cce792776dd4ab7eedda20d (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='G4INCLDATA'

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