File: postinst

package info (click to toggle)
nano 2.0.2-1etch1
  • links: PTS
  • area: main
  • in suites: etch
  • size: 5,304 kB
  • ctags: 1,001
  • sloc: ansic: 14,200; sh: 4,101; makefile: 198; sed: 16
file content (11 lines) | stat: -rw-r--r-- 265 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

set -e

if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ]; then
    update-alternatives --install /usr/bin/editor editor /bin/nano 40 \
      --slave /usr/share/man/man1/editor.1.gz editor.1.gz \
      /usr/share/man/man1/nano.1.gz
fi

#DEBHELPER#