aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan McCrohan <jmccrohan@gmail.com>2012-05-08 21:40:30 +0100
committerJonathan McCrohan <jmccrohan@gmail.com>2012-06-02 00:21:26 +0100
commitc569c486ae5aef43c4bbcff36df758839584eed3 (patch)
treebb4c6a9ad2835987798ed1067ece021be976e684
parent7390dc99b303365171ca42d4524eda08c8e4d1d9 (diff)
downloadfiglet-c569c486ae5aef43c4bbcff36df758839584eed3.tar.gz
Lintian fixes
binary-control-field-duplicates-source maintainer-script-ignores-errors binary-without-manpage
-rw-r--r--debian/changelog1
-rw-r--r--debian/control2
-rw-r--r--debian/figlet.lintian-overrides2
-rw-r--r--debian/postinst2
-rw-r--r--debian/prerm2
5 files changed, 7 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog
index 2dbbc4f..76ebdee 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,7 @@ figlet (2.2.5-1) UNRELEASED; urgency=low
- Bump Debhelper to v9
- Switch to dpkg-source 3.0 (quilt) format
- Switch to dh-style debian/rules (closes: #672320)
+ - Various lintian fixes
- Add watchfile
- Add Homepage to debian/control
- Remove references to deprecated figfonts(-cjk) packages
diff --git a/debian/control b/debian/control
index aede0ad..f416c95 100644
--- a/debian/control
+++ b/debian/control
@@ -9,8 +9,6 @@ Homepage: http://www.figlet.org/
Package: figlet
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
-Section: text
-Priority: optional
Description: Frank, Ian & Glenn's Letters
Figlet is a program that creates large characters out of ordinary screen
characters. It can create characters in many different styles and can
diff --git a/debian/figlet.lintian-overrides b/debian/figlet.lintian-overrides
new file mode 100644
index 0000000..c84be48
--- /dev/null
+++ b/debian/figlet.lintian-overrides
@@ -0,0 +1,2 @@
+# alternatives uses figlet-figlet to provide figlet
+figlet: binary-without-manpage usr/bin/figlet-figlet
diff --git a/debian/postinst b/debian/postinst
index 739f0f7..6fbf3b9 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -1,5 +1,7 @@
#!/bin/sh
+set -e
+
if [ "$1" = configure ]; then
# Add an alternative for figlet
update-alternatives --install /usr/bin/figlet figlet \
diff --git a/debian/prerm b/debian/prerm
index 6bc7471..8058a72 100644
--- a/debian/prerm
+++ b/debian/prerm
@@ -1,5 +1,7 @@
#!/bin/sh
+set -e
+
if [ "$1" = remove ]; then
# Remove alternative for figlet
update-alternatives --remove figlet /usr/bin/figlet-figlet