mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-02-25 13:45:54 +00:00
Update tools.func
This commit is contained in:
@@ -888,6 +888,12 @@ function setup_gs() {
|
|||||||
$STD apt-get install -y build-essential libpng-dev zlib1g-dev
|
$STD apt-get install -y build-essential libpng-dev zlib1g-dev
|
||||||
./configure >/dev/null && make && sudo make install >/dev/null
|
./configure >/dev/null && make && sudo make install >/dev/null
|
||||||
local EXIT_CODE=$?
|
local EXIT_CODE=$?
|
||||||
|
hash -r
|
||||||
|
if [[ ! -x "$(command -v gs)" ]]; then
|
||||||
|
if [[ -x /usr/local/bin/gs ]]; then
|
||||||
|
ln -sf /usr/local/bin/gs /usr/bin/gs
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
rm -rf "$TMP_DIR"
|
rm -rf "$TMP_DIR"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user