Use the right params to check if there are updates in debian

master
meskio 3 years ago
parent a20ee0a73a
commit f944ee0414
Signed by: meskio
GPG Key ID: 52B8F5AC97A2DA86
  1. 2
      base_image.run

@ -7,7 +7,7 @@ image="debian"
if [ -d ${ROOTPATH} ]
then
${FAKEROOT} chroot ${ROOTPATH} apt-get update
${FAKEROOT} chroot ${ROOTPATH} apt-get -s update --assume-no
${FAKEROOT} chroot ${ROOTPATH} apt-get update --assume-no
if [ $? -eq 0 ]
then
echo "No updates needed"

Loading…
Cancel
Save