diff options
author | Jonathan McCrohan <jmccrohan@gmail.com> | 2012-05-14 17:56:30 +0100 |
---|---|---|
committer | Jonathan McCrohan <jmccrohan@gmail.com> | 2012-06-02 00:58:45 +0100 |
commit | 5f53f15682720131259bafe2785ef64ab1cf2deb (patch) | |
tree | f59533d4694053ea982fb612d4173330cc7314af | |
parent | 4604f47979cd5b782dffff3bce7b43750afc35d3 (diff) | |
download | figlet-5f53f15682720131259bafe2785ef64ab1cf2deb.tar.gz |
Use alternatives for figlet manpage (closes: #403665)
Diffstat (limited to '')
-rw-r--r-- | debian/changelog | 1 | ||||
-rw-r--r-- | debian/figlet.lintian-overrides | 2 | ||||
-rw-r--r-- | debian/postinst | 6 | ||||
-rw-r--r-- | debian/prerm | 4 | ||||
-rwxr-xr-x | debian/rules | 4 |
5 files changed, 9 insertions, 8 deletions
diff --git a/debian/changelog b/debian/changelog index c549312..3ff7b74 100644 --- a/debian/changelog +++ b/debian/changelog @@ -17,6 +17,7 @@ figlet (2.2.5-1) UNRELEASED; urgency=low - Update package description (closes: #557254) - Update debian/copyright (closes: #436302) - Fix moolets bashism (closes: #530082) + - Move figlet manpage to alternatives system (closes: #403665) - Add watchfile - Add Homepage to debian/control - Remove references to deprecated figfonts(-cjk) packages diff --git a/debian/figlet.lintian-overrides b/debian/figlet.lintian-overrides deleted file mode 100644 index c84be48..0000000 --- a/debian/figlet.lintian-overrides +++ /dev/null @@ -1,2 +0,0 @@ -# alternatives uses figlet-figlet to provide figlet -figlet: binary-without-manpage usr/bin/figlet-figlet diff --git a/debian/postinst b/debian/postinst index 6fbf3b9..36592ae 100644 --- a/debian/postinst +++ b/debian/postinst @@ -3,10 +3,10 @@ set -e if [ "$1" = configure ]; then - # Add an alternative for figlet + # Add alternatives for figlet update-alternatives --install /usr/bin/figlet figlet \ - /usr/bin/figlet-figlet 30 + /usr/bin/figlet-figlet 30 --slave /usr/share/man/man6/figlet.6.gz \ + figlet.6.gz /usr/share/man/man6/figlet-figlet.6.gz fi #DEBHELPER# - diff --git a/debian/prerm b/debian/prerm index 8058a72..46ad531 100644 --- a/debian/prerm +++ b/debian/prerm @@ -3,10 +3,8 @@ set -e if [ "$1" = remove ]; then - # Remove alternative for figlet + # Remove alternatives for figlet update-alternatives --remove figlet /usr/bin/figlet-figlet fi #DEBHELPER# - - diff --git a/debian/rules b/debian/rules index 754017b..188997c 100755 --- a/debian/rules +++ b/debian/rules @@ -10,5 +10,9 @@ override_dh_auto_install: dh_install debian/figlet.el /usr/share/emacs/site-lisp dh_installexamples debian/examples/moolets +override_dh_installman: + dh_installman + mv debian/figlet/usr/share/man/man6/figlet.6 debian/figlet/usr/share/man/man6/figlet-figlet.6 + %: dh $@ |