Skip to content

Instantly share code, notes, and snippets.

@grizmio
Created October 9, 2025 16:20
Show Gist options
  • Save grizmio/52e7d7ccc9f95c8d270c82cffb260a4f to your computer and use it in GitHub Desktop.
Save grizmio/52e7d7ccc9f95c8d270c82cffb260a4f to your computer and use it in GitHub Desktop.
Comandos para actualizar el ebuild de windsurf en gentoo
#!/bin/bash
set -e
cd /var/db/repos/bentoo/app-editors/windsurf
VERSION=$(wget -q https://windsurf-stable.codeium.com/api/update/linux-x64/stable/latest -O- | jq -r '.windsurfVersion')
sudo bash -c "ls -rth1 windsurf* | xargs -I {} cat {} > windsurf-${VERSION}.ebuild"
sudo bash -c "sudo ebuild windsurf-${VERSION}.ebuild manifest"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment