postinst is in voms-clients 2.0.12-4build1.
This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | #!/bin/sh
set -e
update-alternatives --install /usr/bin/voms-proxy-init \
voms-proxy-init /usr/bin/voms-proxy-init2 50 \
--slave /usr/share/man/man1/voms-proxy-init.1.gz voms-proxy-init-man \
/usr/share/man/man1/voms-proxy-init2.1.gz
update-alternatives --install /usr/bin/voms-proxy-info \
voms-proxy-info /usr/bin/voms-proxy-info2 50 \
--slave /usr/share/man/man1/voms-proxy-info.1.gz voms-proxy-info-man \
/usr/share/man/man1/voms-proxy-info2.1.gz
update-alternatives --install /usr/bin/voms-proxy-destroy \
voms-proxy-destroy /usr/bin/voms-proxy-destroy2 50 \
--slave /usr/share/man/man1/voms-proxy-destroy.1.gz voms-proxy-destroy-man \
/usr/share/man/man1/voms-proxy-destroy2.1.gz
|