Skip to content

Commit

Permalink
handle tarball installs
Browse files Browse the repository at this point in the history
  • Loading branch information
Fuseteam committed Jul 24, 2022
1 parent 8ebba1a commit 783df2a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/pkgfunc
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ function log_pkg_info () {
echo "$pkgversion" > "$PKGS_DIR/$pkgname/pkgs.version";
}

function tarball_install () {
wget "${TARBALL}" -O - | tar -xjvf - -C "${dir}";
pkg_install;
}

function pkg_install () {
log_pkg_info "${package}"
if [ -f "${PKG_PREFIX}/lib/crackle/${pkgname}" ]; then
Expand Down

0 comments on commit 783df2a

Please sign in to comment.