Update tools.func

This commit is contained in:
CanbiZ 2025-08-20 12:34:21 +02:00
parent fb3f4f4eb4
commit 70f72e3432

View File

@ -1434,7 +1434,9 @@ function setup_gs() {
rm -rf "$TMP_DIR"
}
$STD apt-get install -y build-essential libpng-dev zlib1g-dev
$STD ./configure >/dev/null && $STD make && $STD sudo make install
$STD ./configure >/dev/null
$STD make
$STD sudo make install
local EXIT_CODE=$?
hash -r
if [[ ! -x "$(command -v gs)" ]]; then