From c1b6708ec299918f119e8ece1a12cd62dbe6413d Mon Sep 17 00:00:00 2001 From: VirtuBox Date: Fri, 6 Dec 2019 01:02:27 +0100 Subject: [PATCH] Update script --- optimize.sh | 2 +- scripts/install-optipng.sh | 5 +++-- scripts/install-webp.sh | 3 ++- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/optimize.sh b/optimize.sh index ff4b06e..69e2a95 100755 --- a/optimize.sh +++ b/optimize.sh @@ -7,7 +7,7 @@ # Author: VirtuBox # License: M.I.T # ---------------------------------------------------------------------------- -# Version 1.1 - 2019-07-12 +# Version 1.1 - 2019-09-24 # ---------------------------------------------------------------------------- CSI='\033[' diff --git a/scripts/install-optipng.sh b/scripts/install-optipng.sh index be8d60f..d1d6426 100644 --- a/scripts/install-optipng.sh +++ b/scripts/install-optipng.sh @@ -24,7 +24,8 @@ curl -sL "$OPTIPNGLATEST" | tar -I pigz -xf - cd optipng-* || exit 1 # configure and compile optipng -./configure --prefix=/usr +./configure make -j "$(nproc)" strip --strip-unneeded /usr/local/src/optipng-*/src/optipng/optipng -make install \ No newline at end of file +make install +ldconfig \ No newline at end of file diff --git a/scripts/install-webp.sh b/scripts/install-webp.sh index e4eee37..31410c8 100644 --- a/scripts/install-webp.sh +++ b/scripts/install-webp.sh @@ -24,7 +24,8 @@ curl -sL "https:$LATEST_WEBP" | tar -I pigz -xf - cd libwebp-* || exit # configure libwebp and launch compilation -./configure --prefix=/usr +./configure make -j "$(nproc)" strip --strip-unneeded /usr/local/src/libwebp-*/examples/.libs/{cwebp,dwebp} make install +ldconfig