35
35
# #
36
36
# # The SKIP_SCRIPTS environment variable to skip scripts by name
37
37
# # For example:
38
- # # sudo DEBDEBUG=1 SKIP_SCRIPTS=" security-misc.postinst " dpkg -i /path/to/package.deb
38
+ # # sudo DEBDEBUG=1 SKIP_SCRIPTS=" security-misc-shared .postinst " dpkg -i /path/to/package.deb
39
39
# #
40
40
# # another example:
41
41
# #
42
42
# # export DEBDEBUG=1
43
- # # export SKIP_SCRIPTS+=" security-misc.postinst "
43
+ # # export SKIP_SCRIPTS+=" security-misc-shared .postinst "
44
44
# # sudo --preserve-env dpkg -i /path/to/package.deb
45
45
46
46
# # Colorful output: provides color function
49
49
50
50
# # Configuration Folders
51
51
# #
52
- # # For example if the name of the package is 'security-misc':
53
- # # - /etc/security-misc_maint .d/*.conf
54
- # # - /usr/local/etc/security-misc_maint .d/*.conf
52
+ # # For example if the name of the package is 'security-misc-shared ':
53
+ # # - /etc/security-misc-shared_maint .d/*.conf
54
+ # # - /usr/local/etc/security-misc-shared_maint .d/*.conf
55
55
# #
56
56
# # For example if the name of the script is 'panic-on-oops':
57
57
# # - /etc/panic-on-oops_pre.d/*.conf
@@ -149,7 +149,7 @@ colors() {
149
149
source_config_folder () {
150
150
# # dpkg sets environment variables
151
151
# # example:
152
- # # DPKG_MAINTSCRIPT_PACKAGE=security-misc
152
+ # # DPKG_MAINTSCRIPT_PACKAGE=security-misc-shared
153
153
154
154
[[ -v DPKG_MAINTSCRIPT_PACKAGE ]] || DPKG_MAINTSCRIPT_PACKAGE=" "
155
155
if [ " $DPKG_MAINTSCRIPT_PACKAGE " = " " ]; then
@@ -159,7 +159,7 @@ source_config_folder() {
159
159
fi
160
160
161
161
# # example:
162
- # # pre_bsh_settings_folder=security-misc_maint .d
162
+ # # pre_bsh_settings_folder=security-misc-shared_maint .d
163
163
164
164
shopt -s nullglob
165
165
local i
0 commit comments