diff options
author | Robin ALEXANDER <colisee@hotmail.com> | 2022-03-04 10:45:49 +0100 |
---|---|---|
committer | Robin ALEXANDER <colisee@hotmail.com> | 2022-03-04 10:45:49 +0100 |
commit | 9b8f1e6d1cf08ff6fbecf0e9bf2947ede9316681 (patch) | |
tree | 06ff35d11fb8c7420dd73c6c07e50d5fbfad4d9c | |
parent | 766d65e569f17d68aa36dee9300d4a4e08b1f520 (diff) | |
download | dab-scripts-9b8f1e6d1cf08ff6fbecf0e9bf2947ede9316681.tar.gz dab-scripts-9b8f1e6d1cf08ff6fbecf0e9bf2947ede9316681.tar.bz2 dab-scripts-9b8f1e6d1cf08ff6fbecf0e9bf2947ede9316681.zip |
Add clean-up to installation step
-rw-r--r-- | install/odr-get | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/install/odr-get b/install/odr-get index 10ba058..e6d7147 100644 --- a/install/odr-get +++ b/install/odr-get @@ -69,6 +69,7 @@ install_audioenc () { ./configure --enable-vlc make sudo make install + make clean popd } @@ -85,6 +86,7 @@ install_padenc () { ./configure make sudo make install + make clean popd } @@ -107,6 +109,7 @@ install_dabmux () { fi make sudo make install + make clean popd } @@ -123,6 +126,7 @@ install_dabmod () { ./configure CFLAGS="-O3 -DNDEBUG" CXXFLAGS="-O3 -DNDEBUG" --enable-fast-math --disable-zeromq make sudo make install + make clean popd } @@ -138,6 +142,7 @@ install_fdkaac () { ./configure make sudo make install + make clean popd } @@ -153,6 +158,7 @@ install_srccmp () { ./configure make sudo make install + make clean popd } @@ -198,7 +204,7 @@ install_config () { } install () { - # Clone the sources, build and install programs + # Clone the sources, build and install programs, clean-up install_base ${1} install_fdkaac ${1} install_audioenc ${1} @@ -210,6 +216,9 @@ install () { install_config sudo ldconfig + sudo apt-get purge -y + sudo rm -rf /var/lib/apt/lists/* + echo "ODR-mmbTools suite and configuration files installed" } |