From f7628101af59c508a869122a0a3ccdc6e1b7890d Mon Sep 17 00:00:00 2001 From: az Date: Wed, 20 Jul 2022 19:42:52 +0200 Subject: [PATCH] [skip ci] refactor installNextcloudClient in own file - fix --- .../provs/desktop/infrastructure/NextcloudClient.kt | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/main/kotlin/org/domaindrivenarchitecture/provs/desktop/infrastructure/NextcloudClient.kt diff --git a/src/main/kotlin/org/domaindrivenarchitecture/provs/desktop/infrastructure/NextcloudClient.kt b/src/main/kotlin/org/domaindrivenarchitecture/provs/desktop/infrastructure/NextcloudClient.kt new file mode 100644 index 0000000..1304c3d --- /dev/null +++ b/src/main/kotlin/org/domaindrivenarchitecture/provs/desktop/infrastructure/NextcloudClient.kt @@ -0,0 +1,9 @@ +package org.domaindrivenarchitecture.provs.desktop.infrastructure + +import org.domaindrivenarchitecture.provs.framework.core.Prov +import org.domaindrivenarchitecture.provs.framework.ubuntu.install.base.aptInstallFromPpa + + +fun Prov.installNextcloudClient() = task { + aptInstallFromPpa("nextcloud-devs", "client", "nextcloud-client") +}