mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-09-09 16:08:49 -06:00
![Charles Hall](/assets/img/avatar_default.png)
Previously, these scripts wouldn't work on exotic systems such as NixOS. ``` fd '\.sh$' -t f --exec sed -i 's@#!/bin/bash@#!/usr/bin/env bash@' ```
14 lines
229 B
Bash
Executable File
14 lines
229 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
pushd ../../lemmy-translations
|
|
git fetch weblate
|
|
git merge weblate/main
|
|
git push
|
|
popd
|
|
|
|
git submodule update --remote
|
|
git add ../crates/utils/translations
|
|
git commit -m"Updating translations."
|
|
git push
|