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