mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-12 10:10:30 +03:00
Merge branch 'patch-1' into 'master'
Import - sudo refresh repos too and use the newer npm See merge request fdroid/fdroidserver!730
This commit is contained in:
commit
f39732987e
1 changed files with 1 additions and 1 deletions
|
|
@ -164,7 +164,7 @@ def main():
|
||||||
package_json = os.path.join(tmp_importer_dir, 'package.json') # react-native
|
package_json = os.path.join(tmp_importer_dir, 'package.json') # react-native
|
||||||
pubspec_yaml = os.path.join(tmp_importer_dir, 'pubspec.yaml') # flutter
|
pubspec_yaml = os.path.join(tmp_importer_dir, 'pubspec.yaml') # flutter
|
||||||
if os.path.exists(package_json):
|
if os.path.exists(package_json):
|
||||||
build.sudo = ['apt-get install npm', 'npm install -g react-native-cli']
|
build.sudo = ['apt-get update || apt-get update', 'apt-get install -t stretch-backports npm', 'npm install -g react-native-cli']
|
||||||
build.init = ['npm install']
|
build.init = ['npm install']
|
||||||
with open(package_json) as fp:
|
with open(package_json) as fp:
|
||||||
data = json.load(fp)
|
data = json.load(fp)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue