mirror of
https://github.com/kenzok8/small-package
synced 2025-01-08 13:27:36 +08:00
10 lines
224 B
Bash
Executable File
10 lines
224 B
Bash
Executable File
#!/bin/bash
|
|
|
|
for e in $(ls -d luci-*/po); do
|
|
if [[ -d $e/zh-cn && ! -d $e/zh_Hans ]]; then
|
|
ln -s zh-cn $e/zh_Hans 2>/dev/null
|
|
elif [[ -d $e/zh_Hans && ! -d $e/zh-cn ]]; then
|
|
ln -s zh_Hans $e/zh-cn 2>/dev/null
|
|
fi
|
|
done
|