Matt Kraai
e531fbc679
Remove an unused variable.
r8659
19 years ago
Denis Barbier
c35da8beb9
When a package is reconfigured, set debconf/showold to true and
restore the previous value after executing package script.
r8545
19 years ago
Joey Hess
e41215dfa6
- Remove the stderr interception and logging, it's all sent to the
messages file these days so this code was unnecessary.
r8453
19 years ago
Bastian Blank
bd5d5c9021
- Fix isinstallable calls.
- Build-Depend against libdebian-installer4-dev (>= 0.18).
r8099
19 years ago
Denis Barbier
3683635644
Package descriptions could not be translated if LANGUAGE setting
contains any colon, which is a quite common case.
r5952
20 years ago
Denis Barbier
f65d82b9c5
Fix a buffer overflow in menu_entry() when language contains an
underscore and the package description was not translated into
this language.
r5944
20 years ago
Steinar H. Gunderson
b70b4a43dd
Make main-menu a bit more robust against unknown debconf/priority -- basically same fix as last time, just for a different function.
r5929
20 years ago
Steinar H. Gunderson
18acf2768e
Messed up the indenting on the previous commit, sorry -- fixing.
r5897
20 years ago
Steinar H. Gunderson
6d9ca5b451
If main-menu encounters an unknown debconf/priority, it is no longer interpreted as `critical', but as `medium'.
r5896
20 years ago
Alastair McKinstry
f94d33d4d9
Handle dialects properly: eg. if LANG=de_CH, and we don't have a de_CH translation,
drop back to the de translation.
r5681
20 years ago
Joey Hess
ae2cb4b086
log an internal error if it cannot find the selected menu item
r5521
20 years ago
Matt Kraai
cb3afbe898
Do not default to a package that provides a virtual package that is
also provided by a package that is already installed (closes:
#216787 ).
r5340
20 years ago
Matt Kraai
80769dd175
Do not default to a package that provides a virtual package that is
also provided by a package that is already installed (closes:
#216787 ).
r5189
20 years ago
Matt Kraai
8d205c894f
Set the title before configuring a package ( Closes : #213725 ).
r4887
20 years ago
Alastair McKinstry
ed2d57e67c
Move to new debconf macros.
r4703
20 years ago
Bastian Blank
a1f90fd36f
remove ugly unused hack
r4581
20 years ago
Petter Reinholdtsen
801eefe442
Avoid some compile warnings, based on a patch from Goswin von Brederlow.
r4575
20 years ago
Bastian Blank
9651f56dbb
compare installer_menu_item for select default in satisfy virtual
r4566
20 years ago
Bastian Blank
448d872c12
Port to libdebian-installer api version 4.
r4558
20 years ago
Bastian Blank
9aeccd5af3
partialy port to libdebian-installer 4, unfinished, unbuildable
r4547
20 years ago
Matt Kraai
1856277bfb
Set the title for menu entries ( Closes : #213185 ).
r4489
20 years ago
Matt Kraai
631f767e2e
Preserve the user's choice to provide a virtual package (Closes:
#213360 ).
r4454
20 years ago
Matt Kraai
e37b677890
Change menu entry template name.
r4439
20 years ago
Sebastian Ley
4a267d325f
Do not log an error message if udpkg exits with code 10
r4387
20 years ago
Matt Kraai
8dba4302b8
Fetch virtual package menu entries from debconf templates.
r4317
20 years ago
Petter Reinholdtsen
83a2471b27
Use SETTITLE instead of obsolete TITLE.
r4291
20 years ago
Matt Kraai
809381b2f9
Log packages that do not have a debconf menu entry.
r4254
20 years ago
Matt Kraai
0d76ce1682
Fetch menu entries from debconf templates ( Closes : #212922 ).
r4245
20 years ago
Sebastian Ley
28fc41db18
- Better error handling of debconf priorities in error cases.
If something goes wrong, lower the debconf priority
(as before), but if things start to go right again, raise
the priority up to the default level.
- Add fix for Steinar's patch
r4045
20 years ago
Petter Reinholdtsen
6926f6e203
Try to get parallel package handling working again. Patch from Steinar H. Gunderson. ( Closes : #210920 )
r4032
20 years ago
Petter Reinholdtsen
b81397d9e5
Get rid of compile errors and warnings.
r3731
20 years ago
Petter Reinholdtsen
9cf197ad2c
Send SIGUSR1 to cdebconf when a package is installed, to make sure
the debconf database is saved if something goes wrong.
r3730
20 years ago
Petter Reinholdtsen
e9173b692a
Shortened the code by using di_logf() instead of di_log().
Add some logging to the stderr handler.
r3729
20 years ago
Sebastian Ley
67ec9063af
Add isinstallable support as describes in doc/modules.txt
r3696
20 years ago
Joey Hess
34c71c71ee
added stderr redirection and logging
r3549
20 years ago
Alastair McKinstry
60c6b1d393
re-enable menutest support.
r3548
20 years ago
Joey Hess
d4d9b789cf
Moved status_read and config_package to libdebian-installer, since other
programs will need to use them.
r3499
20 years ago
Joey Hess
47c5ffe64d
move status_read to libdebian-installer
r3479
20 years ago
Bastian Blank
0d669477ad
add "exec" to the udpkg calls
r3201
20 years ago
Martin Sjögren
7d29aaa681
Recompile with libdebconfclient
Fix asprintf usage
Prepare for upload
r3155
20 years ago
Petter Reinholdtsen
8119466259
Reorder code to be able to drop the forward definition of update_language().
r2954
20 years ago
Petter Reinholdtsen
29f2f2ecdc
Remove code to signal cdebconf on language change. It is no longer needed in cdebconf >= 0.36.
r2874
20 years ago
Petter Reinholdtsen
e92585419f
Log the menu entry selected, to be able to track what happened during automatic installation.
r2720
20 years ago
Petter Reinholdtsen
e028f6bbdc
Log the package name and return value when unable to configure it.
r2715
20 years ago
Petter Reinholdtsen
df0db4f94b
Fix typo.
r2714
20 years ago
Petter Reinholdtsen
f54af444db
Log the name of failing menu items.
r2713
20 years ago
Petter Reinholdtsen
f4132b4b30
Log the old and new priority when lowering priority.
r2614
20 years ago
Petter Reinholdtsen
f46dbda450
Rewrite how failing menu entries are handled. Instead of increasing
the main menu priority, lower the debconf priority limit when
something fails.
r2570
20 years ago
Martin Sjögren
3c0c5fdaac
turn on backup for the missing-provide question
r2563
20 years ago
Sebastian Ley
749923f965
Send debconf a CAPB with no capabilities to disable backing-up. This is done
each time the main-menu is displayed.
r2531
20 years ago