aboutsummaryrefslogtreecommitdiff
path: root/debian/pbuilder.postinst
Commit message (Collapse)AuthorAge
* Use dpkg-maintscript-helper rm_conffile to clean up old ↵Andreas Henriksson2015-06-22
| | | | /etc/bash_completion.d/pbuilder
* postinst contains dummy call to debconf so that installing through dpkg will ↵Junichi Uekawa2008-03-15
| | | | call debconf pbuilder.config script
* move pbuilder.postinst to pbuilder.configJunichi Uekawa2008-03-15
|
* s/ftp.d.o/cdn.d.n/ for non-interactive installs, tooEddy Petrișor2008-03-06
| | | | Signed-off-by: Eddy Petrișor <eddy.petrisor@gmail.com>
* If there's no MIRRORSITE line in the pbuilderrc, add oneEddy Petrișor2008-03-06
| | | | | | | If, when parsing the current existing pbuilderrc file, no MIRRORSITE setting is found, fall back to autodetection. Signed-off-by: Eddy Petrișor <eddy.petrisor@gmail.com>
* Accepting to rewrite the pbuilderrc is done just for on run of configureEddy Petrișor2008-03-06
| | | | | | | | | | | When accepting to rewrite the config, most definetly, the user wants just this once to accept the rewrite, not every time from this point onwards (including upgrades). In other words, accepting rewrite is forgot immediately, and valid only once. Signed-off-by: Eddy Petrișor <eddy.petrisor@gmail.com>
* Make sure we don't change commented MIRRORSITE-sEddy Petrișor2008-03-06
| | | | | | | | | | Hook the sed replacement to the begining of the line to make sure we're not replacing any commented out entries. Also, it is possible that the MIRRORSITE line to be preceeded by whitespace. Accept that, too. Signed-off-by: Eddy Petrișor <eddy.petrisor@gmail.com>
* Better default placeholder URL; Create minimalistic pbuilderrc filesEddy Petrișor2008-03-06
| | | | | | | | | | | | Use http://you-have-broken-debconf-configuration.example.com/ as a default place-holder instead of the possiblly confusing _ No longer create large /etc/pbuilderrc files, instead create a minimal file which contains just the MIRRORSITE definition since pbuilder sources the default options, so there's only need for overrides. Thanks Junichi for clearing that up. Signed-off-by: Eddy Petrișor <eddy.petrisor@gmail.com>
* no temp file for sources.list concatenationEddy Petrișor2008-03-03
| | | | Signed-off-by: Eddy Petrișor <eddy.petrisor@gmail.com>
* do not use temp files when's not necessaryEddy Petrișor2008-03-02
| | | | | | | | Fix the moronic use of a temporary file within postinst when trying to generate the correct MIRRORSITE info via sed. Sed already has in-place transformation. Signed-off-by: Eddy Petrișor <eddy.petrisor@gmail.com>
* Allow the existing configuration to be updated/redoneEddy Petrișor2008-03-02
| | | | | | | | | When the config exists already, ask the user if he/she really wants to reconfigure pbuilder's config. Small layout fixes. Signed-off-by: Eddy Petrișor <eddy.petrisor@gmail.com>
* Add support for sources.list.d and validate autodetection.Eddy Petrișor2008-03-02
| | | | | | | | | | | | | A the system might use sources.list.d, but might miss sources.list entirely. All the relevant files are concatenated and the first deb source is picked from that list. When the autodection fails, make sure the responsability to insert the valid information drops on the shoulders of the user. Even if the shell is non-interactive, add some mirror. Signed-off-by: Eddy Petrișor <eddy.petrisor@gmail.com>
* The postinst doesn't rely on the /etc/pbuilderrc file to be presentEddy Petrișor2008-03-02
| | | | Signed-off-by: Eddy Petrișor <eddy.petrisor@gmail.com>
* saner way of modifying the conffileEddy Petrisor2007-06-28
|
* do not overwrite custom pbuilderrc files, only the defaultEddy Petrisor2007-06-28
|
* allow questions not to be shown if the priority indicates thatEddy Petrisor2007-06-28
|
* created a proper postinst which takes into account the different parameters ↵Eddy Petrisor2007-06-28
| | | | which are used when calling it
* a crude first version of the default mirror selection codeEddy Petrisor2007-06-28