Installer: ensure the package administrative path exists
Fixes #16984 Change-Id: Ia662147395130be4498eefbe11f5351533c88ff2 Reviewed-on: https://review.haiku-os.org/c/haiku/+/4242 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com> Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
This commit is contained in:
parent
bf14c4b44c
commit
2c6b14c0b8
@ -311,6 +311,10 @@ WorkerThread::_LaunchFinishScript(BPath &path)
|
||||
command.SetToFormat("mkdir -p \"%s/system/cache/tmp\"", path.Path());
|
||||
if (system(command.String()) != 0)
|
||||
return B_ERROR;
|
||||
command.SetToFormat("mkdir -p \"%s/system/packages/administrative\"",
|
||||
path.Path());
|
||||
if (system(command.String()) != 0)
|
||||
return B_ERROR;
|
||||
|
||||
// Ask for first boot processing of all the packages copied into the new
|
||||
// installation, since by just copying them the normal package processing
|
||||
|
Loading…
Reference in New Issue
Block a user