Bug 13823 - Unneeded output of %pre scriplet
Summary: Unneeded output of %pre scriplet
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: libgphoto2 (show other bugs)
Version: unstable
Hardware: all Linux
: P2 minor
Assignee: Dmitriy Khanzhin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-28 20:36 MSK by Vladimir V. Kamarzin
Modified: 2009-05-10 09:33 MSD (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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