Skip to content

Check if workpath/ is empty and in that case create workpath/version

If a user has created the work_path folder manually before running pmbootstrap init the setup fails, see #1965 (closed).

We can check if the work_path is empty and in that case put pmb.config.work_version in work_path/version. This should hopefully be compatible with older work_path versions as well.

Merge request reports