Skip to content

Commit fffa9c1

Browse files
authored
Merge pull request #15 from planetscale/heroku2
Fix Heroku and Bucardo docs and tooling
2 parents 797b597 + a85655d commit fffa9c1

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

heroku-planetscale/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Setup
1313
2. Install and configure Bucardo there:
1414

1515
```sh
16-
sh tools/bucardo.sh
16+
sh install.sh
1717
```
1818

1919
3. Export two environment variables there:

heroku-planetscale/install.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ sudo apt-get -y install "libdbd-pg-perl" "libdbix-safe-perl" "libpod-parser-perl
1212

1313
if ! which "bucardo"
1414
then
15-
if [ ! -f "$TMP/Bucardo-$BUCARDO_VERSION.tar.gz" ]
16-
then curl -L -o "$TMP/Bucardo-$BUCARDO_VERSION.tar.gz" -s "https://bucardo.org/downloads/Bucardo-$BUCARDO_VERSION.tar.gz"
15+
if [ ! -f "$TMP/bucardo-$BUCARDO_VERSION.tar.gz" ]
16+
then curl -L -o "$TMP/bucardo-$BUCARDO_VERSION.tar.gz" "https://github.com/bucardo/bucardo/archive/$BUCARDO_VERSION.tar.gz"
1717
fi
18-
if [ ! -d "$TMP/Bucardo-$BUCARDO_VERSION" ]
19-
then tar -C "$TMP" -f "$TMP/Bucardo-$BUCARDO_VERSION.tar.gz" -x
18+
if [ ! -d "$TMP/bucardo-$BUCARDO_VERSION" ]
19+
then tar -C "$TMP" -f "$TMP/bucardo-$BUCARDO_VERSION.tar.gz" -x
2020
fi
2121
(
22-
cd "$TMP/Bucardo-$BUCARDO_VERSION"
22+
cd "$TMP/bucardo-$BUCARDO_VERSION"
2323
perl "Makefile.PL"
2424
make
2525
sudo make install

0 commit comments

Comments
 (0)