Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 440466

Summary: net-misc/modemmanager-0.5.2.0-r3: some elog messages should only be shown for the first install.
Product: Gentoo Linux Reporter: poletti.marco
Component: Current packagesAssignee: Nirbheek Chauhan (RETIRED) <nirbheek>
Status: RESOLVED FIXED    
Severity: normal CC: tetromino
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 440214    

Description poletti.marco 2012-10-31 10:59:00 UTC
Disclaimer: this bug has been filed in a semi-automated manner.

When emerging the package net-misc/modemmanager-0.5.2.0-r3, the following elog messages are displayed:

 * To control your modem without needing to enter the root password,
 * add your user account to the 'plugdev' group.
 * 
 * If your USB modem shows up as a Flash drive when you plug it in,
 * You should install sys-apps/usb_modeswitch which will automatically
 * switch it over to USB modem mode whenever you plug it in.

Such messages should only be displayed when the package is a new install.
These situations can be checked in the ebuild as follows:

if ! has_version 'net-misc/modemmanager'; then

See the tracker bug 440214 for more details.
Comment 1 Pacho Ramos gentoo-dev 2013-06-10 09:21:56 UTC
this is done in 0.7.991