File: bash-minimal.postinst

package info (click to toggle)
bash 3.2-4
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 3,120 kB
  • ctags: 163
  • sloc: sh: 9,389; ansic: 854; makefile: 529
file content (13 lines) | stat: -rw-r--r-- 192 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#! /bin/sh

set -e

if [ "$1" = configure ] && dpkg --compare-versions "$2" le 3.2-4 \
    && [ -x /usr/sbin/add-shell ]
then
    /usr/sbin/add-shell /bin/bash-minimal
fi

#DEBHELPER#

exit 0