diff --git a/Dockerfile b/Dockerfile index e371ed0..b4cf96d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,7 @@ COPY composer-mirror.config.php /usr/local/composer-mirror/config.php RUN mkdir -p /home/tunasync-scripts ADD https://storage.googleapis.com/git-repo-downloads/repo /usr/local/bin/aosp-repo -RUN chmod a+x /usr/local/bin/aosp-repo +RUN chmod 0755 /usr/local/bin/aosp-repo RUN echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && apt-get install -y locales -qq && locale-gen ENV LANG=en_US.UTF-8 diff --git a/anaconda.py b/anaconda.py index 607fa9a..3f6cc40 100755 --- a/anaconda.py +++ b/anaconda.py @@ -54,6 +54,7 @@ CONDA_CLOUD_REPOS = ( "pyviz/linux-64", "pyviz/linux-32", "pyviz/win-64", "pyviz/win-32", "pyviz/osx-64", "pyviz/noarch", "dglteam/linux-64", "dglteam/win-64", "dglteam/osx-64", "dglteam/noarch", "rdkit/linux-64", "rdkit/win-64", "rdkit/osx-64", "rdkit/noarch", + "mordred-descriptor/linux-64", "mordred-descriptor/win-64", "mordred-descriptor/win-32", "mordred-descriptor/osx-64", "mordred-descriptor/noarch", ) EXCLUDED_PACKAGES = ( diff --git a/nix-channels.py b/nix-channels.py index 50257c2..b453319 100755 --- a/nix-channels.py +++ b/nix-channels.py @@ -309,12 +309,12 @@ def update_channels(channels): channel_failure = True logging.info(f' - Error status: {process.returncode}') break + else: + infos = json.loads(process.stdout) + for info in infos: + ha = hash_part(info['path']) + todo[ha] = (info['url'], f'{ha}.narinfo') else: - infos = json.loads(process.stdout) - for info in infos: - ha = hash_part(info['path']) - todo[ha] = (info['url'], f'{ha}.narinfo') - logging.info(f' - {len(todo)} paths to download') digits = len(str(len(todo)))