File: PackageScripts.pl

package info (click to toggle)
libconfig-model-dpkg-perl 3.017
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,048 kB
  • sloc: perl: 8,530; python: 242; makefile: 77; javascript: 16; sh: 1
file content (48 lines) | stat: -rw-r--r-- 1,494 bytes parent folder | download | duplicates (4)
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'
    }
  }
]
;