mirror of
https://git.proxmox.com/git/perlmod
synced 2025-10-04 07:16:00 +00:00
genpackage: make 'init()' optional
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
8591b61ea4
commit
fa7d62bf37
@ -180,7 +180,7 @@ sub bootstrap {
|
||||
BEGIN {
|
||||
__PACKAGE__->load();
|
||||
__PACKAGE__->bootstrap();
|
||||
init();
|
||||
init() if __PACKAGE__->can("init");
|
||||
}
|
||||
|
||||
1;
|
||||
|
Loading…
Reference in New Issue
Block a user