Martin Sjögren wrote: > mån 2003-03-10 klockan 18.58 skrev Petter Reinholdtsen: > > [Martin Sjögren] > > > What's the best interface for this? Three suggestions (in order of > > > preference): > > > db_capb nobackup > > > db_capb -backup > > > db_nocapb backup > > > > What about 'db_capb backup off'? The 'on' could be implicit in > > 'db_capb backup'. > > I thought you could give multiple arguments to db_capb? I think the sanest way to do this is as follows: CAPB backup # backup is now on (if you get "backup" back in the return code) CAPB # backup is now off Note that there is nothing in the debconf spec that says that CAPB can be used only once in a debconf session. debconf may not implement this properly though. cdebconf may, I don't know. Also note that of course if you have other capabilities you need to add them to both commands; "CAPB foo bar" turns off backup while retaining foo and bar capabilities. -- see shy jo
Attachment:
pgp0fzFI6cMbk.pgp
Description: PGP signature