Merge pull request #2957 from M0ses/fix_issue_2956
pass version 0 to `postinst configure`
This commit is contained in:
commit
acafda96fe
@ -586,6 +586,7 @@ class PackageManagerApt(PackageManagerBase):
|
||||
Command.run(
|
||||
[
|
||||
'chroot', self.root_dir,
|
||||
f'{script_post.replace(self.root_dir, "")}', 'configure'
|
||||
f'{script_post.replace(self.root_dir, "")}',
|
||||
'configure', '0'
|
||||
], self.command_env
|
||||
)
|
||||
|
||||
@ -199,7 +199,7 @@ class TestPackageManagerApt:
|
||||
call(
|
||||
[
|
||||
'chroot', 'root-dir',
|
||||
'tempdir/base-passwd/postinst', 'configure'
|
||||
'tempdir/base-passwd/postinst', 'configure', '0'
|
||||
], new_env
|
||||
),
|
||||
call(
|
||||
@ -224,7 +224,7 @@ class TestPackageManagerApt:
|
||||
call(
|
||||
[
|
||||
'chroot', 'root-dir',
|
||||
'tempdir/base-passwd/postinst', 'configure'
|
||||
'tempdir/base-passwd/postinst', 'configure', '0'
|
||||
], new_env
|
||||
),
|
||||
call(
|
||||
@ -249,7 +249,7 @@ class TestPackageManagerApt:
|
||||
call(
|
||||
[
|
||||
'chroot', 'root-dir',
|
||||
'tempdir/vim/postinst', 'configure'
|
||||
'tempdir/vim/postinst', 'configure', '0'
|
||||
], new_env
|
||||
)
|
||||
]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user