The old message confused even the wisest among us:
https://lists.samba.org/archive/samba/2021-May/236021.html
and while /user/bin/patch might be overly specific, it should point
people in the right direction.
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
stderr=subprocess.PIPE, cwd=temp_folder)
except (OSError, IOError):
shutil.rmtree(temp_folder)
- raise CommandError("Failed to upgrade schema. Check if 'patch' is installed.")
+ raise CommandError("Failed to upgrade schema. "
+ "Is '/usr/bin/patch' missing?")
stdout, stderr = p.communicate()