Updated update_libseccomp2.sh since this has been bumped to 2.5.3-2_armhf.deb (#239)

This commit is contained in:
Eduardo R 2021-12-08 18:15:47 -08:00 committed by GitHub
parent cca12426f7
commit 8447fc5a0c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View file

@ -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."

View file

@ -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."