Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] udev.permissions

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Eric Sandall <eric AT sandall.us>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] udev.permissions
  • Date: Sat, 12 Feb 2005 14:23:57 -0800

Quoting Flavien Bridault <f.bridault AT fra.net>:
> Mmmm.... Yes it should be better... You're obviously right... But you wanted
> to say PRE_BUILD, don't you ? Since afaik PREPARE no longer exists in
> BUILD_API 2 ??
>
> How can I do this properly ?? Ask the user if is right for updating udev,
> with
> default to no ?? How can I exit the spell properly ??

PREPARE exists in build_api 2.

You could do this in PREPARE:

message "${MESSAGE_COLOR}<long warning>${DEFAULT_COLOR}" &&
config_query UDEV_UPDATE "Do you still wish to continue?" n &&

if [ "$UDEV_UPDATE" == "n" ]; then
return 1
fi

-sandalle

--
Eric Sandall | Source Mage GNU/Linux Developer
eric AT sandall.us PGP: 0xA8EFDD61 | http://www.sourcemage.org/
http://eric.sandall.us/ | SysAdmin @ Inst. Shock Physics @ WSU
http://counter.li.org/ #196285 | http://www.shock.wsu.edu/

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.




Archive powered by MHonArc 2.6.24.

Top of Page