Преглед изворни кода

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

Eduardo R пре 3 година
родитељ
комит
8447fc5a0c
2 измењених фајлова са 4 додато и 3 уклоњено
  1. 1 0
      install_docker.sh
  2. 3 3
      tools/update_libseccomp2.sh

+ 1 - 0
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."
+

+ 3 - 3
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."