Move apt update to own file
This commit is contained in:
parent
0fece1b914
commit
09f8ae55a5
2 changed files with 5 additions and 4 deletions
|
@ -3,9 +3,6 @@ if [ ! -d /opt/headphones/.git ]; then
|
|||
/sbin/setuser abc git clone https://github.com/rembo10/headphones.git /opt/headphones
|
||||
else
|
||||
cd /opt/headphones
|
||||
/sbin/setuser abc git pull
|
||||
/sbin/setuser abc git pull
|
||||
fi
|
||||
#chown -R abc:abc /opt/headphones
|
||||
|
||||
apt-get update -qq
|
||||
apt-get --only-upgrade install -yqq ffmpeg
|
||||
|
|
4
init/25_update_apt.sh
Normal file
4
init/25_update_apt.sh
Normal file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/bash
|
||||
|
||||
apt-get update -qq
|
||||
apt-get --only-upgrade install -yqq ffmpeg
|
Loading…
Add table
Reference in a new issue