Skip to content

Commit

Permalink
chore: update installation package url to github releases
Browse files Browse the repository at this point in the history
  • Loading branch information
lyang2821 committed Mar 23, 2024
1 parent 5f060bc commit 8eeb3cc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pkg/common/install-ws.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ install() {
install_deb() {
echo "Installing lapdev-ws package from GitHub."
sudo apt update
curl -sL -o /tmp/lapdev-ws_${VERSION}-1_amd64.deb https://r2.lap.dev/lapdev-ws_${VERSION}-1_amd64.deb
curl -sL -o /tmp/lapdev-ws_${VERSION}-1_amd64.deb https://github.com/lapce/lapdev/releases/download/v${VERSION}/lapdev-ws_${VERSION}-1_amd64.deb
sudo apt install -y /tmp/lapdev-ws_${VERSION}-1_amd64.deb
echo "Installing podman if it's not"
sudo apt install -y fuse-overlayfs podman dbus-user-session golang-github-containernetworking-plugin-dnsname
Expand All @@ -75,7 +75,7 @@ install_deb() {

install_rpm() {
echo "Installing lapdev-ws package from GitHub."
sudo yum install -y https://r2.lap.dev/lapdev-ws-${VERSION}-1.x86_64.rpm
sudo yum install -y https://github.com/lapce/lapdev/releases/download/v${VERSION}/lapdev-ws-${VERSION}-1.x86_64.rpm
echo "Installing podman if it's not"
sudo yum install -y fuse-overlayfs podman
sudo loginctl enable-linger lapdev
Expand Down
4 changes: 2 additions & 2 deletions pkg/common/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,13 @@ install() {
install_deb() {
echo "Installing lapdev package from GitHub."
sudo apt update
curl -sL -o /tmp/lapdev_${VERSION}-1_amd64.deb https://r2.lap.dev/lapdev_${VERSION}-1_amd64.deb
curl -sL -o /tmp/lapdev_${VERSION}-1_amd64.deb https://github.com/lapce/lapdev/releases/download/v${VERSION}/lapdev_${VERSION}-1_amd64.deb
sudo apt install -y /tmp/lapdev_${VERSION}-1_amd64.deb
}

install_rpm() {
echo "Installing lapdev package from GitHub."
sudo yum install -y https://r2.lap.dev/lapdev-${VERSION}-1.x86_64.rpm
sudo yum install -y https://github.com/lapce/lapdev/releases/download/v${VERSION}/lapdev-${VERSION}-1.x86_64.rpm
}

main "$@"

0 comments on commit 8eeb3cc

Please sign in to comment.