From: Christian Heller Date: Tue, 26 Nov 2024 14:15:13 +0000 (+0100) Subject: Fix installer breaking on new install due to missing migrations dir. X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/%7B%7B%20web_path%20%7D%7D/decks/template?a=commitdiff_plain;h=db92dcb80ee397f7e62b4ce0423d0e69d8ded71a;p=ytplom Fix installer breaking on new install due to missing migrations dir. --- 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}/"