From 5deb6f073b9054a2195ddd796bdfc38acc4cc548 Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Sat, 7 Jul 2007 15:54:45 +0000 Subject: [PATCH] - Fixed pre scriptlet (bug #247349, bug #247322). --- hplip.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/hplip.spec b/hplip.spec index b1467bd..47724bc 100644 --- a/hplip.spec +++ b/hplip.spec @@ -1,7 +1,7 @@ Summary: HP Linux Imaging and Printing Project Name: hplip Version: 2.7.6 -Release: 2%{?dist} +Release: 3%{?dist} License: GPL/MIT/BSD Group: System Environment/Daemons Conflicts: system-config-printer < 0.6.132 @@ -245,7 +245,9 @@ rm -rf %{buildroot} %pre # No daemons any more. -[ -x /etc/init.d/hplip ] && /sbin/service hplip stop +if [ -x /etc/init.d/hplip ]; then + /sbin/service hplip stop +fi %post gui /usr/bin/update-desktop-database &>/dev/null ||: @@ -262,6 +264,9 @@ fi exit 0 %changelog +* Sat Jul 7 2007 Tim Waugh 2.7.6-3 +- Fixed pre scriptlet (bug #247349, bug #247322). + * Fri Jul 6 2007 Tim Waugh 2.7.6-2 - Main package requires python-reportlab for hp-sendfax (bug #189030). - Explicitly enable scanning.