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 adding symbolic links
- Create symlinks in /usr/local/bin for immediate global access - Ensure /usr/local/bin directory exists with mkdir -p - Set proper executable permissions on binaries - Keep profile.d approach as fallback and source for current session - Update uninstall script to remove specific files and clean up symlinks - Use rm -rf for systemd override directory cleanup Fixes #38
This commit is contained in:
15
uninstall.sh
15
uninstall.sh
@@ -1,6 +1,13 @@
|
||||
systemctl stop tailscaled
|
||||
systemctl disable tailscaled
|
||||
rm /etc/systemd/system/tailscaled.service
|
||||
rm /etc/default/tailscaled
|
||||
rm /etc/profile.d/tailscale.sh
|
||||
rm -rf /opt/tailscale/tailscale
|
||||
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 specific Tailscale binaries
|
||||
rm -f /opt/tailscale/tailscale
|
||||
rm -f /opt/tailscale/tailscaled
|
||||
# Remove the directory if it's empty (will fail silently if it contains other files)
|
||||
rmdir /opt/tailscale 2>/dev/null || true
|
||||
|
||||
Reference in New Issue
Block a user