mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-15 19:50:29 +03:00
use utf-8 as default encoding for config.py
This makes it easy to add all languages to the description.
This commit is contained in:
parent
f861faa86d
commit
a7a053c4f5
3 changed files with 42 additions and 0 deletions
|
|
@ -121,6 +121,22 @@ if [ `uname -s` == "Linux" ]; then
|
|||
fi
|
||||
|
||||
|
||||
#------------------------------------------------------------------------------#
|
||||
echo_header "test UTF-8 metadata"
|
||||
|
||||
REPOROOT=`create_test_dir`
|
||||
cd $REPOROOT
|
||||
|
||||
$fdroid init
|
||||
sed -i.tmp 's,^ *repo_description.*,repo_description = """获取已安装在您的设备上的应用的,' config.py
|
||||
mkdir metadata
|
||||
cp $WORKSPACE/tests/urzip.apk repo/
|
||||
cp $WORKSPACE/tests/metadata/info.guardianproject.urzip.txt metadata/
|
||||
|
||||
$fdroid readmeta
|
||||
$fdroid update
|
||||
|
||||
|
||||
#------------------------------------------------------------------------------#
|
||||
echo_header "test metadata checks"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue