Displaying 1 result from an estimated 1 matches for "has_ubuntu_serv".
Did you mean:
has_ubuntu_server
2019 Feb 27
2
[PATCH] v2v: linux: do not uninstall open-vm-tools w/ ubuntu-server
...ref [] and libraries = ref [] in
+ (* On Ubuntu, the ubuntu-server metapackage depends on
+ * open-vm-tools, and thus any attempt to remove it will cause
+ * dependency issues. Hence, special case this situation, and
+ * leave open-vm-tools installed in this case.
+ *)
+ let has_ubuntu_server =
+ if family = `Debian_family then
+ List.exists (
+ fun { G.app2_name = name } ->
+ name = "ubuntu-server"
+ ) inspect.i_apps
+ else false in
List.iter (
fun { G.app2_name = name } ->
if String.is_prefix name "...