From: Joachim Wiedorn Date: Sun, 9 Sep 2018 15:09:12 +0000 (+0200) Subject: Fix command redirection in postinst script X-Git-Tag: debian/24.2-4~1 X-Git-Url: https://git.rrq.au/?a=commitdiff_plain;h=5bbd690184dba250c7e3d80c6cad42e261e180a1;p=rrq%2Fmaintain_lilo.git Fix command redirection in postinst script --- diff --git a/debian/changelog b/debian/changelog index b3f9b33..ca5b7e5 100644 --- a/debian/changelog +++ b/debian/changelog @@ -6,6 +6,8 @@ lilo (1:24.2-4) UNRELEASED; urgency=medium * debian/patches: - 02: Remove patches vor vendorspecific naming. Closes: #896081 - 09: add new patch, fix manpage lilo.conf.5. Closes: #902711 + * lilo.postinst: + - Fix command redirection in the script. Closes: #908242 -- Joachim Wiedorn Sun, 09 Sep 2018 16:07:53 +0200 diff --git a/debian/lilo.postinst b/debian/lilo.postinst index 4ede5ea..43116fb 100644 --- a/debian/lilo.postinst +++ b/debian/lilo.postinst @@ -36,7 +36,7 @@ case "$1" in # Check whether /boot is on another partition and mount it. See Bug#216250 if grep "[[:space:]]/boot[[:space:]]" /etc/fstab | grep -vq "^#"; then if ! grep -q "[[:space:]]/boot[[:space:]]" /etc/mtab ; then - mount /boot 2>&1 > /dev/null + mount /boot > /dev/null 2>&1 if [ $? -ne 0 ]; then echo diff --git a/debian/rules b/debian/rules index d8663eb..0191238 100755 --- a/debian/rules +++ b/debian/rules @@ -13,8 +13,8 @@ override_dh_auto_build: dh_auto_build @echo "Extract html documentation (tech.html, user.html)" - uudecode -o /dev/stdout debian/doc/tech.html.uu 2>/dev/null | tar -x -z -C debian - uudecode -o /dev/stdout debian/doc/user.html.uu 2>/dev/null | tar -x -z -C debian + uudecode -o /dev/stdout debian/doc/tech.html.uu 2> /dev/null | tar -x -z -C debian + uudecode -o /dev/stdout debian/doc/user.html.uu 2> /dev/null | tar -x -z -C debian override_dh_fixperms-arch: dh_fixperms