ports/cad/openscad/patches/patch-scripts_translation-update_sh

15 lines
422 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
OpenBSD does not have unlink in base
Index: scripts/translation-update.sh
--- scripts/translation-update.sh.orig
+++ scripts/translation-update.sh
@@ -100,7 +100,7 @@ updatemo()
# clean the mess
for LANGCODE in `cat locale/LINGUAS | grep -v "#"`; do
- unlink ./locale/$LANGCODE/LC_MESSAGES/$LANGCODE.mo
+ rm ./locale/$LANGCODE/LC_MESSAGES/$LANGCODE.mo
done
else
if [ x"$(uname -s)" = x"Linux" ]; then