Bug 13823

Summary: Unneeded output of %pre scriplet
Product: Sisyphus Reporter: Vladimir V. Kamarzin <vvk>
Component: libgphoto2Assignee: Dmitriy Khanzhin <jinn>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: minor    
Priority: P2 CC: jinn
Version: unstable   
Hardware: all   
OS: Linux   

Description Vladimir V. Kamarzin 2007-12-28 20:36:03 MSK
Во время dist-upgrade

695: libgnokii              
#################################################################################
[ 78%]
groupadd: group camera exists
696: libgphoto2             
#################################################################################
[ 78%]


% rpm -q --scripts libgphoto2
preinstall scriptlet (through /bin/sh):
# create group
/usr/sbin/groupadd -r camera || :

Неплохо бы перенаправить вывод в /dev/null, т.е.
/usr/sbin/groupadd -r camera >/dev/null 2>&1 ||:

или делать проверку на существование группы.
Comment 1 Dmitriy Khanzhin 2008-03-13 07:49:08 MSK
fixed