Bug#89725: apt: Ability to do multiple operations in one invocation
> as a standalone feature this doesn't make too much sense, but merged with
> #80123 (Pre-Download hooks), it does: I'd like to have a cronjob that does
>
> apt-get -d update upgrade
>
> each night (when phone is cheap) and I'd like apt to use
> mclient/masqserver to dial out for this. Of course, I don't want that the
> modem hangs up between getting the package lists and the actual packages,
> so this will have to be done in one invocation of apt, with apt noticing
> that the upgrade will potentially still need the modem.
pray tell, why not:
#!/bin/sh
dial-out-on-modem
apt-get update
apt-get -d upgrade
hang-up-modem
randolph
--
Debian Developer <tausq@debian.org>
http://www.TauSq.org/
Reply to: