mirror of
https://github.com/brockar/Debian-Hyprland.git
synced 2026-01-14 08:00:57 -03:00
updated imagemagick.sh to not reinstall again if imagemagick is already installed
This commit is contained in:
@@ -30,7 +30,12 @@ for PKG1 in "${depend[@]}"; do
|
||||
fi
|
||||
done
|
||||
|
||||
##
|
||||
# check if Imagemagick is already installed manually
|
||||
if [ -f "/usr/local/bin/magick" ]; then
|
||||
echo "${NOTE} /usr/local/bin/magick already exists. skipping installation of Imagemagick." 2>&1 | tee -a "$LOG"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
printf "${NOTE} Installing ImageMagick from source...\n"
|
||||
|
||||
# Check if folder exists and remove it
|
||||
|
||||
Reference in New Issue
Block a user