add build-fork to change package path
This commit is contained in:
parent
a8b433ed6a
commit
27bc0ce08d
|
@ -28,6 +28,7 @@ publish:
|
|||
only:
|
||||
- develop
|
||||
script:
|
||||
- ./build-fork.sh
|
||||
# workaround for bug in fdroid nightly
|
||||
- sed -i "s/-debug.apk/-unsigned.apk/" /usr/lib/python3/dist-packages/fdroidserver/nightly.py
|
||||
- sed -i "s/servergitmirror = 'git@' +/servergitmirror = 'gitlab@' +/" /usr/lib/python3/dist-packages/fdroidserver/nightly.py
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
#!/bin/sh
|
||||
|
||||
echo "rename folders"
|
||||
|
||||
for folder in $(find -type d -name "siacs"); do
|
||||
newfolder="$(echo $folder | sed "s/siacs/sum7/")";
|
||||
echo "$folder -> $newfolder"
|
||||
mv "$folder" "$newfolder"
|
||||
done
|
||||
|
||||
echo "fix packageing"
|
||||
for file in $(find -type f -name "*.xml" -or -name "*.java"); do
|
||||
sed -i "s/eu.siacs./eu.sum7./" "$file"
|
||||
echo "$file: $?"
|
||||
done
|
||||
|
||||
sed -i "s/eu.siacs./eu.sum7./" "proguard-rules.pro"
|
Loading…
Reference in New Issue