Skip to content
Snippets Groups Projects
Commit 0b0f9e18 authored by Mick Jordan's avatar Mick Jordan
Browse files

installpkgs: output repo url on --list-versions

parent c9d4aabe
No related branches found
No related tags found
No related merge requests found
#
# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
......@@ -73,6 +73,8 @@
# --alpha-daily implicitly sets --pkg-pattern from the day of the year modulo 26. E.g., 0 is ^[Aa], 1 is ^[Bb]
# --ok-only implicitly sets --pkg-filelist to a list of packages known to install
# TODO At some point this will need to upgraded to support installation from other repos, e.g. BioConductor, github
args <- commandArgs(TRUE)
usage <- function() {
......@@ -479,7 +481,7 @@ do.it <- function() {
if (list.versions) {
for (i in (1:length(rownames(toinstall.pkgs)))) {
pkg <- toinstall.pkgs[i, ]
cat(pkg["Package"], pkg["Version"], "\n", sep=",")
cat(pkg["Package"], pkg["Version"], paste0(contriburl, "/", pkg["Version"], ".tar.gz"), "\n", sep=",")
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment