Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
shocknet-justin committed Aug 16, 2024
1 parent 597470c commit 8c5812e
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions scripts/install_lightning_pub.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,29 +17,6 @@ install_lightning_pub() {
USER_NAME=$(whoami)
fi

# log "Checking for build essentials..."
# if [ "$OS" = "Linux" ]; then
# if command -v gcc &> /dev/null && command -v make &> /dev/null; then
# log "Build essentials already installed."
# else
# log "Installing build essentials..."
# if command -v apt-get &> /dev/null; then
# log "Using apt-get to install build-essential"
# sudo apt-get update > /dev/null 2>&1
# sudo apt-get install -y build-essential > /dev/null 2>&1
# elif command -v yum &> /dev/null; then
# log "Using yum to install Development Tools"
# sudo yum groupinstall -y "Development Tools" > /dev/null 2>&1
# else
# log "Unable to install build essentials. Neither apt-get nor yum found."
# return 1
# fi
# log "Build essentials installation attempt completed."
# fi
# else
# log "Not on Linux, skipping build essentials check."
# fi

log "${PRIMARY_COLOR}Installing${RESET_COLOR} ${SECONDARY_COLOR}Lightning.Pub${RESET_COLOR}..."

sudo -u $USER_NAME wget -q $REPO_URL -O $USER_HOME/lightning_pub.tar.gz > /dev/null 2>&1 || {
Expand Down

0 comments on commit 8c5812e

Please sign in to comment.