Skip to content

Commit 3eed42e

Browse files
committed
Fix logic
1 parent 03ba353 commit 3eed42e

File tree

1 file changed

+2
-5
lines changed
  • root/etc/s6-overlay/s6-rc.d/init-mod-code-server-bat-install

1 file changed

+2
-5
lines changed

root/etc/s6-overlay/s6-rc.d/init-mod-code-server-bat-install/run

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,15 +46,12 @@ fi
4646

4747

4848
if [ -f ~/bat-extras/README.md ]; then
49+
echo 'Bat-extras already installed, skipping'
50+
else
4951
echo 'Installing bat-extras'
5052
git clone https://github.com/eth-p/bat-extras.git ~/
5153
cd ~/bat-extras/src
5254
chmod +x ~/bat-extras/src/*.sh
5355
mkdir -p ~/bin
5456
ln -s ~/bat-extras/src/*.sh ~/bin
55-
else
56-
echo 'Bat-extras already installed, skipping'
5757
fi
58-
59-
60-

0 commit comments

Comments
 (0)