Mise à jour image météo et quelques scripts.
This commit is contained in:
12
functions.sh
12
functions.sh
@@ -1,4 +1,4 @@
|
||||
# This file contains utility functions used by rpi23-gen-image.sh
|
||||
# This file contains utility functions used by rpiGenImage.sh
|
||||
|
||||
cleanup (){
|
||||
set +x
|
||||
@@ -76,11 +76,11 @@ chroot_install_cc() {
|
||||
COMPILER_PACKAGES=$(chroot_exec apt-get -s install g++ make bc | grep "^Inst " | awk -v ORS=" " '{ print $2 }')
|
||||
|
||||
|
||||
# if [ "$RELEASE" = "trixie" ] || [ "$RELEASE" = "bullseye" ] || [ "$RELEASE" = "bookworm" ] ; then
|
||||
# chroot_exec apt-get -q -y --no-install-recommends install ${COMPILER_PACKAGES}
|
||||
# elif [ "$RELEASE" = "bullseye" ] || [ "$RELEASE" = "bookworm" ] || [ "$RELEASE" = "bookworm" ]; then
|
||||
chroot_exec apt-get -q -y --allow-unauthenticated --no-install-recommends install ${COMPILER_PACKAGES}
|
||||
# fi
|
||||
if [ "$RELEASE" = "forky" ] || [ "$RELEASE" = "trixie" ] || [ "$RELEASE" = "bookworm" ] ; then
|
||||
chroot_exec apt -y --no-install-recommends install ${COMPILER_PACKAGES}
|
||||
elif [ "$RELEASE" = "bullseye" ] || [ "$RELEASE" = "buster" ] || [ "$RELEASE" = "stretch" ]; then
|
||||
chroot_exec apt -y --allow-unauthenticated --no-install-recommends install ${COMPILER_PACKAGES}
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user