mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-04 14:30:30 +03:00
init: no error if examples/ dir cannot be found; overhaul repo_icon
There are so many possible installation paths for Python modules, it has been very hard to even find and test them all. This adds a fallback option if the examples dir cannot be found. A repo can work without an icon or the example config.py. This removes the fake assumption that the icon can be a full path in the config.py. While the path was being properly passed through to the index file, the file was never copied properly into place nor rsynced to the web server.
This commit is contained in:
parent
b655d20d6b
commit
5ae2703477
12 changed files with 31 additions and 31 deletions
|
|
@ -228,7 +228,6 @@ echo_header 'copy git import and run "fdroid scanner" on it'
|
|||
|
||||
REPOROOT=`create_test_dir`
|
||||
cd $REPOROOT
|
||||
cp $WORKSPACE/examples/fdroid-icon.png $REPOROOT/
|
||||
mkdir metadata
|
||||
echo "AutoName: Just A Test" > metadata/org.fdroid.ci.test.app.yml
|
||||
echo "WebSite: " >> metadata/org.fdroid.ci.test.app.yml
|
||||
|
|
@ -942,7 +941,6 @@ echo_header "setup a new repo manually and generate a keystore"
|
|||
REPOROOT=`create_test_dir`
|
||||
KEYSTORE=$REPOROOT/keystore.p12
|
||||
cd $REPOROOT
|
||||
cp $WORKSPACE/examples/fdroid-icon.png $REPOROOT/
|
||||
! test -e $KEYSTORE
|
||||
set +e
|
||||
$fdroid update
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue