diff --git a/pg-essentials/install.sh b/pg-essentials/install.sh index 511ee6f..629e8bc 100644 --- a/pg-essentials/install.sh +++ b/pg-essentials/install.sh @@ -14,8 +14,8 @@ __init_pg_essentials() { pkg_dst_cmd="$HOME/.local/bin/psql-backup" pkg_dst="$pkg_dst_cmd" - pkg_src_cmd="$HOME/.local/opt/pg-essentials-v$WEBI_VERSION/bin/psql-backup" - pkg_src_bin="$HOME/.local/opt/pg-essentials-v$WEBI_VERSION/bin" + pkg_src_cmd="$HOME/.local/opt/pg-essentials-v$WEBI_VERSION/psql-backup" + pkg_src_bin="$HOME/.local/opt/pg-essentials-v$WEBI_VERSION" pkg_src_dir="$HOME/.local/opt/pg-essentials-v$WEBI_VERSION" pkg_src="$pkg_src_cmd" @@ -37,11 +37,11 @@ __init_pg_essentials() { cd ~/.local/opt/pg-essentials/ || return 1 for b_file in pg-*; do rm -rf ../../bin/"${b_file}" - ln -s "../opt/pg-essentials-v$WEBI_VERSION/bin/${b_file}" . + ln -s "../opt/pg-essentials-v$WEBI_VERSION/${b_file}" ../../bin/ done for b_file in psql-*; do rm -rf ../../bin/"${b_file}" - ln -s "../opt/pg-essentials-v$WEBI_VERSION/bin/${b_file}" . + ln -s "../opt/pg-essentials-v$WEBI_VERSION/${b_file}" ../../bin/ done ) } diff --git a/pg-essentials/releases.js b/pg-essentials/releases.js index 271f97a..ee5ad3d 100644 --- a/pg-essentials/releases.js +++ b/pg-essentials/releases.js @@ -3,8 +3,8 @@ let Releases = module.exports; let GitHubSource = require('../_common/github-source.js'); -let owner = 'BeyondCodeBootcamp'; -let repo = 'aliasman'; +let owner = 'bnnanet'; +let repo = 'pg-essentials'; Releases.latest = async function () { let all = await GitHubSource.getDistributables({ owner, repo });