Commit 764d09f8 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play tailscale: switch to official tailscale RPM repo

epm repack tailscale: skip tailscaled wrapper if binary not present
parent 49b39ce4
...@@ -8,8 +8,10 @@ URL="https://tailscale.com/" ...@@ -8,8 +8,10 @@ URL="https://tailscale.com/"
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
warn_version_is_not_supported if [ "$VERSION" = "*" ] ; then
VERSION=$(get_github_tag tailscale/tailscale)
fi
PKGURL=$(eget --list --latest "https://dl.fedoraproject.org/pub/fedora/linux/releases/42/Everything/x86_64/os/Packages/t/" "tailscale*.rpm") PKGURL="https://pkgs.tailscale.com/stable/fedora/x86_64/tailscale_${VERSION}_x86_64.rpm"
install_pkgurl install_pkgurl
...@@ -12,7 +12,7 @@ PRODUCTDIR=/opt/$PRODUCT ...@@ -12,7 +12,7 @@ PRODUCTDIR=/opt/$PRODUCT
move_to_opt /usr/bin move_to_opt /usr/bin
add_bin_exec_command add_bin_exec_command
add_bin_exec_command tailscaled [ -f "$BUILDROOT$PRODUCTDIR/tailscaled" ] && add_bin_exec_command tailscaled
#cleanup #cleanup
remove_dir /var/cache remove_dir /var/cache
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment