-
Notifications
You must be signed in to change notification settings - Fork 0
/
usr##share##debconf##confmodule
37 lines (36 loc) · 1.41 KB
/
usr##share##debconf##confmodule
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#!/bin/sh
#
#This file is part of the minos-desktop-settings package
#
#While abusing apt some maintainer postinst scripts fail to
#run debconf due to missing file descriptors, eg:
#https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=439763
#http://help-cfengine.narkive.com/foRdaZbB/shellcommands-3-bad-file-descriptor
#https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/961142
#replace db_* functions as a nasty workaround
db_capb () { return 0; }
db_set () { return 0; }
db_reset () { return 0; }
db_title () { return 0; }
db_input () { return 0; }
db_beginblock () { return 0; }
db_endblock () { return 0; }
db_go () { return 0; }
db_get () { return 0; }
db_register () { return 0; }
db_unregister () { return 0; }
db_subst () { return 0; }
db_fset () { return 0; }
db_fget () { return 0; }
db_purge () { return 0; }
db_metaget () { return 0; }
db_version () { return 0; }
db_clear () { return 0; }
db_settitle () { return 0; }
db_previous_module () { return 0; }
db_info () { return 0; }
db_progress () { return 0; }
db_data () { return 0; }
db_x_loadtemplatefile () { return 0; }
db_text () { return 0; }
db_stop () { return 0; }