diff --git a/examples/config.py b/examples/config.py index d33ddfac..43eceb1d 100644 --- a/examples/config.py +++ b/examples/config.py @@ -248,9 +248,9 @@ The repository of older versions of applications from the main demo repository. # } # It is possible for the server operator to specify lists of apps that -# must be installed or deleted on the client (aka "push installs). If -# the user has opted in, or the device is already setup to respond to -# these requests, then fdroidclient will automatically install/delete +# must be installed or uninstalled on the client (aka "push installs). +# If the user has opted in, or the device is already setup to respond +# to these requests, then F-Droid will automatically install/uninstall # the packageNames listed. This is protected by the same signing key # as the app index metadata. # @@ -260,7 +260,7 @@ The repository of older versions of applications from the main demo repository. # 'us.replicant', # } # -# delete_list = { +# uninstall_list = { # 'com.facebook.orca', # 'com.android.vending', # } diff --git a/fdroidserver/update.py b/fdroidserver/update.py index 6261a69e..b1ebfd35 100644 --- a/fdroidserver/update.py +++ b/fdroidserver/update.py @@ -959,7 +959,7 @@ def make_index(apps, sortedids, apks, repodir, archive, categories): repoel.setAttribute("pubkey", extract_pubkey().decode('utf-8')) root.appendChild(repoel) - for command in ('install', 'delete'): + for command in ('install', 'uninstall'): packageNames = [] key = command + '_list' if key in config: diff --git a/tests/run-tests b/tests/run-tests index 7e0eb2aa..c681a2ba 100755 --- a/tests/run-tests +++ b/tests/run-tests @@ -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 '