diff options
author | Yuri Chornoivan <yurchor@ukr.net> | 2018-02-23 20:34:43 +0200 |
---|---|---|
committer | Yuri Chornoivan <yurchor@ukr.net> | 2018-02-23 20:34:43 +0200 |
commit | 89f013bb4d68b0df17131df47f320ab4a44f060f (patch) | |
tree | 3a8a398ff40d57cc86940f295c97509802935f32 /docs/docs/stable/bootiso/update.sh | |
parent | cd4e1a8183a04d6067bdfa2894b64da8ec339c93 (diff) | |
download | tools-89f013bb4d68b0df17131df47f320ab4a44f060f.tar tools-89f013bb4d68b0df17131df47f320ab4a44f060f.tar.gz tools-89f013bb4d68b0df17131df47f320ab4a44f060f.tar.bz2 tools-89f013bb4d68b0df17131df47f320ab4a44f060f.tar.xz tools-89f013bb4d68b0df17131df47f320ab4a44f060f.zip |
Create stable folder and move stable docs there
Diffstat (limited to 'docs/docs/stable/bootiso/update.sh')
-rwxr-xr-x | docs/docs/stable/bootiso/update.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/docs/stable/bootiso/update.sh b/docs/docs/stable/bootiso/update.sh new file mode 100755 index 00000000..766e64be --- /dev/null +++ b/docs/docs/stable/bootiso/update.sh @@ -0,0 +1,15 @@ +#!/bin/bash +POFILE=$1 + +if [[ $POFILE == "" ]]; then + for i in *.po + do + echo -n $i": " + msgmerge --backup=none --update $i bootiso.pot && \ + msgfmt -o /dev/null --statistics --check $i + done +else + echo -n $1".po: " + msgmerge --backup=none --update $1.po bootiso.pot && \ + msgfmt -o /dev/null --statistics --check $1.po +fi |