From db92dcb80ee397f7e62b4ce0423d0e69d8ded71a Mon Sep 17 00:00:00 2001
From: Christian Heller <c.heller@plomlompom.de>
Date: Tue, 26 Nov 2024 15:15:13 +0100
Subject: [PATCH] Fix installer breaking on new install due to missing
 migrations dir.

---
 install.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/install.sh b/install.sh
index 0ee48b1..18b764b 100755
--- a/install.sh
+++ b/install.sh
@@ -7,7 +7,7 @@ NAME_EXECUTABLE=ytplom
 
 mkdir -p "${PATH_APP_SHARE}" "${PATH_LOCAL_BIN}"
 
-rm ${PATH_APP_SHARE}/migrations/*
+rm -f ${PATH_APP_SHARE}/migrations/*
 
 cp -r ./src/* "${PATH_APP_SHARE}/"
 cp "${NAME_EXECUTABLE}" "${PATH_LOCAL_BIN}/"
-- 
2.30.2