Commit Graph

45 Commits

Author SHA1 Message Date
Alex Kretzschmar
b1fa9edf12 Fix Steam Deck PATH issue with proper detection and adaptive symlinks
- Add proper Steam Deck detection using ID=steamos and VARIANT_ID=steamdeck
- Use /home/deck/.local/bin for symlinks on Steam Deck (avoids read-only /usr/local/bin)
- Fall back to /usr/local/bin on other systems
- Ensure target directories exist before creating symlinks
- Add both ~/.local/bin and /opt/tailscale to PATH on Steam Deck
- Update uninstall script to clean up symlinks from both locations
- Keep profile.d sourcing for immediate availability in current session

Fixes #38
2025-06-23 16:54:00 -04:00
Alex Kretzschmar
d79c4acec2 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
2025-06-23 16:45:33 -04:00
Alex Kretzschmar
76ced54ce8 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
2025-06-23 16:37:11 -04:00
Duncan Gibson
336b668d0a Tweak visual output 2024-04-28 10:07:01 -04:00
Game
82405e651f Update tailscale.sh 2024-04-28 18:39:48 +07:00
Zac Holland
4decd0d076 remove source /etc/os-release 2023-12-20 09:55:55 -08:00
Zac Holland
2b671d612c add daemon-reload after the override file is added 2023-12-20 09:38:33 -08:00
Zac Holland
89365b7f4d remove recursive copy on single file 2023-12-19 10:25:26 -08:00
Zac Holland
a4348ef742 one more echo for formatting 2023-12-19 10:21:19 -08:00
Zac Holland
29f6fd70f9 override file is backed up if already existing, then replaced 2023-12-19 10:18:32 -08:00
Zac Holland
698fcefab0 replace fi 2023-12-18 18:13:18 -08:00
Zac Holland
be6349059d replace overrides file in favor of sed 2023-12-18 15:35:47 -08:00
Zac Holland
2e65e8d5bd do not blindly delete tailscale override conf 2023-12-18 14:09:17 -08:00
Zac Holland
61b47d9522 fix source command 2023-12-18 13:56:22 -08:00
Zac Holland
002419edcc formatting 2023-12-18 13:14:04 -08:00
Zac Holland
8b128cf1e9 add small helper if it is the users first time running the script 2023-12-18 13:11:22 -08:00
Zac Holland
3b2ff6b9cf one more echo change 2023-12-18 12:56:42 -08:00
Zac Holland
c1b0ffe10d more logging consistency changes because stuff is being printed to stderr 2023-12-18 12:55:12 -08:00
Zac Holland
52c0e76704 fix profile.d path bug 2023-12-18 12:45:47 -08:00
Zac Holland
c250264b6b Consistent logging 2023-12-18 12:40:25 -08:00
Zac Holland
9f7ea642d4 add &>/dev/null and error messages because commands are sending output to stderr even on success 2023-12-18 12:37:28 -08:00
Zac Holland
dee3fecb40 move defaults to /etc
move installation to /opt
2023-12-18 12:20:17 -08:00
Zac Holland
dd30633d72 add section for removing legacy installations 2023-12-18 12:12:03 -08:00
Zac Holland
05156fbb67 add comment for sed commands 2023-12-15 16:34:12 -08:00
Zac Holland
2ee6edbc82 fix bashrc lines 2023-12-15 16:16:40 -08:00
Zac Holland
6778aaead6 add user binaries to path 2023-12-15 16:10:51 -08:00
Zac Holland
8856380097 fix paths for binary 2023-12-15 16:03:53 -08:00
Zac Holland
d496b2a7d7 install in home dir 2023-12-15 15:59:25 -08:00
Zac Holland
cda40f1a82 change id to _any 2023-12-14 15:36:46 -08:00
Duncan Gibson
582036eeb4 Reorganize readme and tweak extension-release
+ add note about portential new update method
+ add note about system updates breaking things
* move note about changing root FS
- remove unused SYSEXT_LEVEL param from extension-release file
2023-11-19 22:12:38 -05:00
Duncan Gibson
21ee55924e comments and cleanup 2023-07-22 10:37:15 -04:00
Duncan Gibson
8b832a32e3 well, that didn't work. damn you, systemd-sysext 2023-07-22 10:10:27 -04:00
Duncan Gibson
071e4c910e let's try this? 2023-07-22 10:03:06 -04:00
Duncan Gibson
6d7bc804d4 clean up messages 2023-07-19 19:20:05 -04:00
Duncan Gibson
d93d38b66c create tailscaled service dir if necessary 2023-07-19 19:16:58 -04:00
Duncan Gibson
a31db4859e use provided files, override 2023-07-19 19:10:37 -04:00
Duncan Gibson
b6b0f9b031 Merge branch 'main' into pr/1 2023-07-12 17:58:31 -04:00
Duncan Gibson
9d806242cc Split install output into lines. 2023-07-12 17:54:45 -04:00
Carlos Chulo
85db4a405a fixed copy/pasta 2023-07-11 22:48:06 -07:00
Carlos Chulo
ffd98e3780 Fixes error with enabling systemd-sysext a second time 2023-07-11 22:42:11 -07:00
Duncan
07c00f3416 2023-06-05 20:09:40 -04:00
Duncan
a72f61facb 2022-10-10 15:05:28 -04:00
Duncan
1e1d91962f 2022-10-09 19:19:55 -04:00
Duncan
5e15f63a52 2022-10-09 19:19:41 -04:00
Duncan
34db2ca7f0 2022-10-09 19:16:40 -04:00