diff --git a/init/20_update.sh b/init/20_update.sh index ce46231..0d49097 100755 --- a/init/20_update.sh +++ b/init/20_update.sh @@ -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 diff --git a/init/25_update_apt.sh b/init/25_update_apt.sh new file mode 100644 index 0000000..73ff990 --- /dev/null +++ b/init/25_update_apt.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +apt-get update -qq +apt-get --only-upgrade install -yqq ffmpeg