diff options
author | nachoparker <nacho@ownyourbits.com> | 2019-08-06 20:26:29 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2019-08-19 00:33:41 +0300 |
commit | 8b8779f650097663c843fa0ef7d759bb8bee99be (patch) | |
tree | 9c36985b783292eb2ee0f3b6a533031f286d70e5 | |
parent | 80fd18cd997ec131cdb85f9dbdcfc9b8cee05681 (diff) |
fix armbian sources
Signed-off-by: nachoparker <nacho@ownyourbits.com>
-rwxr-xr-x | bin/ncp-dist-upgrade | 1 | ||||
-rw-r--r-- | updates/1.16.0.sh | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/bin/ncp-dist-upgrade b/bin/ncp-dist-upgrade index 6862dc35..71b174b9 100755 --- a/bin/ncp-dist-upgrade +++ b/bin/ncp-dist-upgrade @@ -47,6 +47,7 @@ set -e # update sources sed -i 's/stretch/buster/g' /etc/apt/sources.list +sed -i 's/stretch/buster/g' /etc/apt/sources.list.d/* rm -f /etc/apt/sources.list.d/php.list # install latest distro diff --git a/updates/1.16.0.sh b/updates/1.16.0.sh index e1da55d8..25fd8525 100644 --- a/updates/1.16.0.sh +++ b/updates/1.16.0.sh @@ -15,6 +15,9 @@ apt-get install -y --no-install-recommends php-smbclient exfat-fuse exfat-utils # install lsb-release apt-get install -y --no-install-recommends lsb-release +# missed some sources +sed -i 's/stretch/buster/g' /etc/apt/sources.list.d/* &>/dev/null || true + # docker images only [[ -f /.docker-image ]] && { : |