Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

29 lines (24 sloc) 0.758 kb
#!/bin/sh
set -e
case "$1" in
configure)
update-alternatives --quiet \
--install /usr/bin/editor editor /usr/bin/elvisnox 90 \
--slave /usr/share/man/man1/editor.1.gz editor.1.gz \
/usr/share/man/man1/elvisnox.1.gz
for app in editor ex input vi view; do
update-alternatives --quiet \
--install /usr/bin/"$app" "$app" /usr/bin/elvisnox 120 \
--slave /usr/share/man/man1/"$app".1.gz "$app".1.gz \
/usr/share/man/man1/elvisnox.1.gz
done
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
#DEBHELPER#
exit 0
Jump to Line
Something went wrong with that request. Please try again.