We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The piaware builder supports the three latest debian versions. This adds support for all three of them.
--- install-piaware.sh.orig 2020-11-04 16:55:51.362241828 +0200 +++ install-piaware.sh 2020-11-04 17:09:28.592031302 +0200 @@ -1,5 +1,13 @@ #!/bin/bash +DEBV=`sed 's/\..*//' /etc/debian_version` +case $DEBV in + 10) DEB=buster;; + 9) DEB=stretch;; + 8) DEB=jessie;; + *) echo "Debian version unknown or too old, exiting"; exit;; +esac + INSTALL_DIRECTORY=${PWD} echo -e "\e[32mUpdating\e[39m" @@ -16,8 +24,8 @@ git clone http://github.com/flightaware/tcltls-rebuild.git echo -e "\e[32mbuilding tcl-tls package \e[39m" cd ${INSTALL_DIRECTORY}/tcltls-rebuild -./prepare-build.sh buster -cd package-buster +./prepare-build.sh $DEB +cd package-$DEB sudo dpkg-buildpackage -b --no-sign echo -e "\e[32mInstalling tcl-tls package \e[39m" cd ../ @@ -37,8 +45,8 @@ echo -e "\e[32mBuilding the piaware package \e[39m" cd ${INSTALL_DIRECTORY}/piaware_builder -sudo ./sensible-build.sh buster -cd ${INSTALL_DIRECTORY}/piaware_builder/package-buster +sudo ./sensible-build.sh $DEB +cd ${INSTALL_DIRECTORY}/piaware_builder/package-$DEB sudo dpkg-buildpackage -b --no-sign echo -e "\e[32mInstalling piaware package\e[39m"
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The piaware builder supports the three latest debian versions. This adds support for all three of them.
The text was updated successfully, but these errors were encountered: