This commit is contained in:
AJ ONeal
2024-12-25 00:28:36 +00:00
parent 5ffb8bed04
commit ab3b4450c8
2 changed files with 6 additions and 6 deletions

View File

@@ -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
)
}

View File

@@ -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 });