home · contact · privacy
Fix installer breaking on new install due to missing migrations dir.
authorChristian Heller <c.heller@plomlompom.de>
Tue, 26 Nov 2024 14:15:13 +0000 (15:15 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Tue, 26 Nov 2024 14:15:13 +0000 (15:15 +0100)
install.sh

index 0ee48b1b2adda4580a06e28b337715ffef9921c6..18b764bbbfb37e4b3ecdbb920866419e11633f81 100755 (executable)
@@ -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}/"