merge setup_gs from VED to VE

This commit is contained in:
CanbiZ 2025-08-20 17:27:19 +02:00 committed by GitHub
parent 452ba92a6f
commit 2bd2a763a1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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