From 8447fc5a0c355488d8b3bcc584661960dbb82999 Mon Sep 17 00:00:00 2001 From: Eduardo R Date: Wed, 8 Dec 2021 18:15:47 -0800 Subject: [PATCH] Updated `update_libseccomp2.sh` since this has been bumped to 2.5.3-2_armhf.deb (#239) --- install_docker.sh | 1 + tools/update_libseccomp2.sh | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/install_docker.sh b/install_docker.sh index 931ade7..3217650 100755 --- a/install_docker.sh +++ b/install_docker.sh @@ -20,3 +20,4 @@ check_internet curl -sSL https://get.docker.com | sh || error "Failed to install Docker." sudo usermod -aG docker $USER || error "Failed to add user to the Docker usergroup." echo "Remember to logoff/reboot for the changes to take effect." + diff --git a/tools/update_libseccomp2.sh b/tools/update_libseccomp2.sh index 3883da5..01b918a 100755 --- a/tools/update_libseccomp2.sh +++ b/tools/update_libseccomp2.sh @@ -18,7 +18,7 @@ function check_internet() { check_internet echo "Libseccomp2 upgrade needed if you run rpi 32bit. Check version with 'dpkg-query -W libseccomp'. if the version is 2.3 or below, this script is necessary." -wget http://ftp.us.debian.org/debian/pool/main/libs/libseccomp/libseccomp2_2.5.2-2_armhf.deb || error "Failed to download libseccomp2.deb" -sudo dpkg -i libseccomp2_2.5.2-2_armhf.deb || error "Failed to install libseccomp2.deb" -rm -f libseccomp2_2.5.2-2_armhf.deb +wget http://ftp.us.debian.org/debian/pool/main/libs/libseccomp/libseccomp2_2.5.3-2_armhf.deb || error "Failed to download libseccomp2.deb" +sudo dpkg -i libseccomp2_2.5.3-2_armhf.deb || error "Failed to install libseccomp2.deb" +rm -f libseccomp2_2.5.3-2_armhf.deb echo "Updating the libseccomp2 file is complete."