diff --git a/debian/elk.postinst b/debian/elk.postinst deleted file mode 100644 index 9319507..0000000 --- a/debian/elk.postinst +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh - - -if [ "$1" = "configure" ]; then - update-alternatives --install /usr/bin/scheme scheme \ - /usr/bin/scheme-warning-elk 20 > /dev/null -fi - -#DEBHELPER# diff --git a/debian/elk.prerm b/debian/elk.prerm index a8f4f67..1bbc651 100644 --- a/debian/elk.prerm +++ b/debian/elk.prerm @@ -1,6 +1,7 @@ #!/bin/sh if [ "$1" = "remove" ]; then + # Remove this useless alternative. update-alternatives --remove scheme /usr/bin/scheme-warning-elk > /dev/null fi diff --git a/debian/manpages b/debian/manpages index 48fec3c..fce8b16 100644 --- a/debian/manpages +++ b/debian/manpages @@ -3,4 +3,3 @@ debian/ldflags-elk.1 debian/linkscheme.1 debian/makedl.1 debian/scheme-elk.1 -debian/scheme-warning-elk.1 diff --git a/debian/rules b/debian/rules index 52019df..e2f751a 100755 --- a/debian/rules +++ b/debian/rules @@ -47,7 +47,6 @@ install: build mv $(CURDIR)/debian/elk/usr/bin/scheme \ $(CURDIR)/debian/elk/usr/bin/scheme-elk - install -m 755 debian/scheme-warning-elk $(CURDIR)/debian/elk/usr/bin/ install -m 644 debian/elk.ini $(CURDIR)/debian/elk/usr/share/elk mv $(CURDIR)/debian/elk/usr/lib/*.so.* \ diff --git a/debian/scheme-warning-elk b/debian/scheme-warning-elk deleted file mode 100644 index 507a030..0000000 --- a/debian/scheme-warning-elk +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -echo "As there are a few scheme interpeters in Debian, you should invoke -the one you want by using its full name. If you want to use elk, invoke -'scheme-elk'. You may also define elk as the default scheme interpreter. -To do so, run (as root) the following command: - -update-alternatives --install /usr/bin/scheme scheme /usr/bin/scheme-elk 20 \ - --slave /usr/share/man/man1/scheme.1.gz scheme.1.gz /usr/share/man/man1/elk.1.gz - -Press ENTER to continue." - -read foo diff --git a/debian/scheme-warning-elk.1 b/debian/scheme-warning-elk.1 deleted file mode 100644 index ddc5451..0000000 --- a/debian/scheme-warning-elk.1 +++ /dev/null @@ -1,11 +0,0 @@ -.TH SCHEME-WARNING-ELK 1 -.SH NAME -scheme-warning-elk -.SH SYNOPSIS -.B scheme-warning-elk -.SH "DESCRIPTION" -.B scheme-warning-elk -displays a warning showing how to choose a scheme interpreter in Debian -.SH AUTHOR -This manual page was written by E. Zanardi, -for the Debian GNU/Linux system.