From 2c379d0679a13364250e30f27daebbff8df09f8e Mon Sep 17 00:00:00 2001 From: Florian Schrofner Date: Sun, 17 Nov 2024 13:45:53 +0100 Subject: [PATCH] delete android scripts dir first, in case it exists --- configs/configs.clj | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/configs.clj b/configs/configs.clj index e9e22f7..8bbeb71 100755 --- a/configs/configs.clj +++ b/configs/configs.clj @@ -34,6 +34,7 @@ (defn- setup-android-scripts [] (let [android-scripts-dir (str home "/Projects/android-scripts")] + (-> (fs/file android-scripts-dir) (fs/delete-tree)) (fs/create-dirs android-scripts-dir) (safe-sh "chown" "-R" (str user ":" user) android-scripts-dir) (safe-sh-as-user "git" "clone" "ssh://git@git.schro.fi:4242/schrofi/android-scripts.git" android-scripts-dir)))