This file is indexed.

postinst is in rubygems 1.8.24-1.

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
18
19
20
21
#!/bin/sh
# 

set -e

case "$1" in
  configure)
        rm -f /var/lib/gems/1.8/source_cache
        update-alternatives --quiet --install /usr/bin/gem gem \
            /usr/bin/gem1.8 180 \
	    --slave /usr/share/man/man1/gem.1.gz gem.1.gz \
	    /usr/share/man/man1/gem1.8.1.gz \
            --slave /etc/bash_completion.d/gem bash_completion_gem \
            /etc/bash_completion.d/gem1.8
       ;;
  *)
esac



exit 0