1
0
Fork 0
mirror of https://github.com/shlomif/PySolFC.git synced 2025-04-05 00:02:29 -04:00

removed a redundancy from buildozer.init

This commit is contained in:
lufebe16 2023-09-27 09:35:29 +02:00
parent 55d5111fb4
commit 0112e831ff
3 changed files with 6 additions and 3 deletions

1
.gitignore vendored
View file

@ -28,6 +28,7 @@ android/*.zip
android/bin/keystore
buildozer/.buildozer*
buildozer/PySolFC-Cardsets*
buildozer/cardsets
buildozer/bin
buildozer/tmp
buildozer/support*

View file

@ -2,8 +2,6 @@
set -eux
tmpdir=./tmp
cardsets_dir=PySolFC-Cardsets--Minimal-2.2.0
cardsets_file=${cardsets_dir}.tar.xz
# NOTE: $1 will be set with fdroid builds only.
@ -31,7 +29,7 @@ echo '### prepare cardsets'
./mkcards
cp -a ${cardsets_dir}/* ${tmpdir}/data
cp -a cardsets/* ${tmpdir}/data
echo '### eval version'

View file

@ -4,6 +4,8 @@ set -eux
cardsets_dir=PySolFC-Cardsets--Minimal-2.2.0
cardsets_file=${cardsets_dir}.tar.xz
rm -rf cardsets
echo '### prepare cardsets'
if [ ! -f ${cardsets_file} ]; then
@ -25,4 +27,6 @@ echo '### processing cardsets'
done
)
ln -s ${cardsets_dir} cardsets
echo '### end cardsets'