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 38 39 40 41 42 43 44 45 46 47 48
|
use strict;
use warnings;
return [
{
'element' => [
'preinst',
{
'description' => 'For details, see L<Debian Policy|https://www.debian.org/doc/debian-policy/#document-ch-maintainerscripts>',
'summary' => 'script called before a package is unpacked',
'type' => 'leaf',
'value_type' => 'string'
},
'postinst',
{
'description' => 'For details, see L<Debian Policy|https://www.debian.org/doc/debian-policy/#document-ch-maintainerscripts>',
'summary' => 'script called after a package is unpacked',
'type' => 'leaf',
'value_type' => 'string'
},
'prerm',
{
'description' => 'For details, see L<Debian Policy|https://www.debian.org/doc/debian-policy/#document-ch-maintainerscripts>',
'summary' => 'script called before a package is removed',
'type' => 'leaf',
'value_type' => 'string'
},
'postrm',
{
'description' => 'For details, see L<Debian Policy|https://www.debian.org/doc/debian-policy/#document-ch-maintainerscripts>',
'summary' => 'script called after a package is removed',
'type' => 'leaf',
'value_type' => 'string'
}
],
'name' => 'Dpkg::PackageScripts',
'rw_config' => {
'auto_create' => '1',
'auto_delete' => '1',
'backend' => 'Dpkg::DebHelperFile',
'config_dir' => 'debian',
'file' => '&element',
'file_mode' => 'a+x'
}
}
]
;
|