mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 06:50:29 +03:00
Small config fixes
This commit is contained in:
parent
f6f23030e2
commit
f6ffbb5997
3 changed files with 3 additions and 7 deletions
|
|
@ -104,7 +104,7 @@ def main():
|
||||||
# 'metadata' and 'tmp' are created in fdroid
|
# 'metadata' and 'tmp' are created in fdroid
|
||||||
os.mkdir('repo')
|
os.mkdir('repo')
|
||||||
shutil.copy(os.path.join(examplesdir, 'fdroid-icon.png'), fdroiddir)
|
shutil.copy(os.path.join(examplesdir, 'fdroid-icon.png'), fdroiddir)
|
||||||
shutil.copyfile(os.path.join(examplesdir, 'config.sample.py'), 'config.py')
|
shutil.copyfile(os.path.join(examplesdir, 'sampleconfigs', 'config.py'), 'config.py')
|
||||||
os.chmod('config.py', 0o0600)
|
os.chmod('config.py', 0o0600)
|
||||||
else:
|
else:
|
||||||
logging.info('Looks like this is already an F-Droid repo, cowardly refusing to overwrite it...')
|
logging.info('Looks like this is already an F-Droid repo, cowardly refusing to overwrite it...')
|
||||||
|
|
|
||||||
|
|
@ -3,15 +3,11 @@
|
||||||
# Copy this file to config.py, then amend the settings below according to
|
# Copy this file to config.py, then amend the settings below according to
|
||||||
# your system configuration.
|
# your system configuration.
|
||||||
|
|
||||||
# Path to the Android SDK, $ANDROID_HOME already set on most systems
|
# Override the path to the Android SDK, $ANDROID_HOME by default
|
||||||
#sdk_path = "/path/to/android-sdk"
|
#sdk_path = "/path/to/android-sdk"
|
||||||
sdk_path = "$ANDROID_HOME"
|
|
||||||
|
|
||||||
# Path to the Android NDK, $ANDROID_NDK already set on most systems
|
# Override the path to the Android NDK, $ANDROID_NDK by default
|
||||||
# Legacy toolchains are only needed by some apps
|
|
||||||
#ndk_path = "/path/to/android-ndk"
|
#ndk_path = "/path/to/android-ndk"
|
||||||
ndk_path = "$ANDROID_NDK"
|
|
||||||
|
|
||||||
# Build tools version to be used
|
# Build tools version to be used
|
||||||
build_tools = "19.0.1"
|
build_tools = "19.0.1"
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue