mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-16 04:00:30 +03:00
rename server request from "delete" to "uninstall"
This matches the Android API's current Intent action for this, rather than the deprecated one: https://gitlab.com/fdroid/fdroidclient/blob/v0.101-alpha5/app/src/main/java/org/fdroid/fdroid/installer/DefaultInstallerActivity.java#L147 https://developer.android.com/reference/android/content/Intent.html#ACTION_UNINSTALL_PACKAGE https://developer.android.com/reference/android/content/Intent.html#ACTION_DELETE
This commit is contained in:
parent
a6a8d34528
commit
6126b55136
3 changed files with 7 additions and 7 deletions
|
|
@ -147,13 +147,13 @@ $fdroid init
|
|||
cp -a $WORKSPACE/tests/metadata $WORKSPACE/tests/repo $REPOROOT/
|
||||
echo "accepted_formats = ['json', 'txt', 'xml', 'yml']" >> config.py
|
||||
echo "install_list = 'org.adaway'" >> config.py
|
||||
echo "delete_list = {'com.android.vending', 'com.facebook.orca',}" >> config.py
|
||||
echo "uninstall_list = {'com.android.vending', 'com.facebook.orca',}" >> config.py
|
||||
$fdroid update --verbose
|
||||
test -e repo/index.xml
|
||||
test -e repo/index.jar
|
||||
grep -F '<application id=' repo/index.xml > /dev/null
|
||||
grep -F '<install packageName=' repo/index.xml > /dev/null
|
||||
grep -F '<delete packageName=' repo/index.xml > /dev/null
|
||||
grep -F '<uninstall packageName=' repo/index.xml > /dev/null
|
||||
|
||||
|
||||
#------------------------------------------------------------------------------#
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue