Move the tcltls-rebuild package into the archive after being built.

pull/558/head
Joe Prochazka 2024-06-14 17:26:09 -04:00
rodzic 8c5552d86b
commit d748a69d69
1 zmienionych plików z 6 dodań i 2 usunięć

Wyświetl plik

@ -121,8 +121,6 @@ CheckPackage libssl-dev
CheckPackage tcl-dev
CheckPackage chrpath
# TODO: Archive the package.
# Build the FlightAware version of tcl-tls to address network issues with the stock package.
if [[ -d ${RECEIVER_BUILD_DIRECTORY}/tcltls-rebuild ]] && [[ -d ${RECEIVER_BUILD_DIRECTORY}/tcltls-rebuild/.git ]] ; then
# A directory with a git repository containing the source code already exists.
@ -153,6 +151,12 @@ echo ""
sudo dpkg -i ${RECEIVER_BUILD_DIRECTORY}/tcltls-rebuild/tcl-tls_1.7.22-2+fa1_*.deb 2>&1
echo ""
echo -e "\e[94m Moving the tcltls-rebuild binary package into the archive directory...\e[97m"
echo ""
cp -vf ${RECEIVER_BUILD_DIRECTORY}/piaware_builder/*.deb ${RECEIVER_BUILD_DIRECTORY}/package-archive/ 2>&1
echo ""
### STOP ANY RUNNING SERVICES
# Attempt to stop using systemd.