mirror of
https://github.com/tailscale-dev/deck-tailscale.git
synced 2025-10-22 15:38:15 +00:00
fix bashrc lines
This commit is contained in:
@@ -46,8 +46,8 @@ cp -rf $tar_dir/tailscale /home/deck/.bin/tailscale
|
|||||||
cp -rf $tar_dir/tailscaled /home/deck/.bin/tailscaled
|
cp -rf $tar_dir/tailscaled /home/deck/.bin/tailscaled
|
||||||
|
|
||||||
# add binaries to path via bashrc if not already there
|
# add binaries to path via bashrc if not already there
|
||||||
if [ $(cat /home/deck/.bashrc | grep -c "/home/deck/.bin") -eq 0 ]; then
|
if [ $(cat /home/deck/.bashrc | grep -c 'export PATH="/home/deck/.bin:$PATH"') -eq 0 ]; then
|
||||||
echo "/home/deck/.bin" >> /home/deck/.bashrc
|
echo 'export PATH="/home/deck/.bin:$PATH"' >> /home/deck/.bashrc
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# copy in the defaults file if it doesn't already exist
|
# copy in the defaults file if it doesn't already exist
|
||||||
|
Reference in New Issue
Block a user