Skip to content

Commit

Permalink
Change from Bitbucket to Bintray for builds
Browse files Browse the repository at this point in the history
  • Loading branch information
j8r committed Mar 14, 2019
1 parent 1ac7c20 commit 85e0aae
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ The binary is `bin/dppm` in the directory.

- Manual

Get [the pre-compiled binary](https://bitbucket.org/dfabric/packages/downloads/) called `dppm-static_*`, and extract it.
Get [the pre-compiled binary](https://bintray.com/dfabric/apps-static/builds#files) called `dppm-static_*`, and extract it.

- Clone the repository and compile the project

Expand Down
2 changes: 1 addition & 1 deletion config.con
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
mirror "https://bitbucket.org/dfabric/packages/downloads"
mirror "https://bintray.com/dfabric/apps-static/download_file?file_path="
source "https://github.com/DFabric/packages-source/tarball/master"
host "[::1]"
port 8994
2 changes: 1 addition & 1 deletion src/prefix.cr
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ struct Prefix
source_dir = @src.rchop
packages_source_date = nil
update = true
if File.symlink?(source_dir)
if File.exists?(source_dir) && File.symlink?(source_dir)
update = false
elsif HTTPHelper.url? source
if packages_source_date = HTTPHelper.get_string(source.gsub("tarball", "commits")).match(/(?<=datetime=").*T[0-9][0-9]:/).try &.[0]?
Expand Down

0 comments on commit 85e0aae

Please sign in to comment.