Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ else
fi

echo -n "Installing librsvg "
source /etc/os-release

if [[ "$OSTYPE" == "darwin"* ]]; then
brew ls librsvg > /dev/null 2>&1
if [ $? -ne 0 ];then
Expand All @@ -39,6 +41,13 @@ if [[ "$OSTYPE" == "darwin"* ]]; then
else
echo "[Skipped]"
fi
elif [[ "$ID" == "fedora"* ]]; then
if [[ -z $(command -v rsvg-convert) ]]; then
sudo dnf install -y librsvg2-tools
echo "[DONE]"
else
echo "[Skipped]"
fi
else
dpkg -l librsvg2-bin 2>&1 > /dev/null
DPKG_RC=$?
Expand Down