Commit 5bbd6901 authored by Joachim Wiedorn's avatar Joachim Wiedorn

Fix command redirection in postinst script

parent a2bbe53a
......@@ -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 <joodebian@joonet.de> Sun, 09 Sep 2018 16:07:53 +0200
......
......@@ -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
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment