mirror of
https://github.com/linuxserver/docker-mods.git
synced 2026-01-19 20:01:59 +08:00
Symlink bat-extras every time the install step is run
Separate the git clone step from the installation step It doesn't need to be cloned every time, but it should be installed every time
This commit is contained in:
parent
5662ddda7c
commit
37838d616b
@ -44,14 +44,17 @@ else
|
||||
fi
|
||||
|
||||
if [ -d ~/.bat-extras ]; then
|
||||
echo 'Bat-extras already installed, skipping'
|
||||
echo 'Bat-extras already cloned, skipping'
|
||||
else
|
||||
echo 'Installing bat-extras'
|
||||
echo 'Cloning bat-extras repo'
|
||||
git clone https://github.com/eth-p/bat-extras.git ~/.bat-extras
|
||||
cd ~/.bat-extras/src
|
||||
chmod +x ~/.bat-extras/src/*.sh
|
||||
ln -s ~/.bat-extras/src/*.sh /usr/local/bin
|
||||
fi
|
||||
|
||||
echo 'Installing bat-extras'
|
||||
cd ~/.bat-extras/src
|
||||
chmod +x ~/.bat-extras/src/*.sh
|
||||
ln -s ~/.bat-extras/src/*.sh /usr/local/bin
|
||||
|
||||
echo 'Setting permissions for bat-extras'
|
||||
lsiown -R abc:abc \
|
||||
/config/.bat-extras
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user