mirror of
https://github.com/tailscale-dev/deck-tailscale.git
synced 2025-10-23 07:58:09 +00:00
Fix PATH issue on Steam Deck by using adaptive symlink locations
- Detect Steam Deck via /etc/os-release and use ~/.local/bin for symlinks - Fall back to /usr/local/bin on other systems to avoid read-only filesystem - Ensure target directories exist with mkdir -p before creating symlinks - Keep profile.d approach as fallback and source for immediate availability - Update uninstall script to clean up symlinks from both possible locations - Use rm -rf for systemd override directory and specific file removal Fixes #38
This commit is contained in:
@@ -4,8 +4,9 @@ rm -f /etc/systemd/system/tailscaled.service
|
||||
rm -rf /etc/systemd/system/tailscaled.service.d
|
||||
rm -f /etc/default/tailscaled
|
||||
rm -f /etc/profile.d/tailscale.sh
|
||||
rm -f /usr/local/bin/tailscale
|
||||
rm -f /usr/local/bin/tailscaled
|
||||
# Remove symlinks from both possible locations (Steam Deck and other systems)
|
||||
rm -f /usr/local/bin/tailscale /usr/local/bin/tailscaled
|
||||
rm -f /home/deck/.local/bin/tailscale /home/deck/.local/bin/tailscaled
|
||||
# Remove specific Tailscale binaries
|
||||
rm -f /opt/tailscale/tailscale
|
||||
rm -f /opt/tailscale/tailscaled
|
||||
|
Reference in New Issue
Block a user