mirror of
https://github.com/JaKooLit/Debian-Hyprland.git
synced 2025-12-21 10:20:12 +01:00
updated imagemagick.sh to not reinstall again if imagemagick is already installed
This commit is contained in:
parent
750017a157
commit
325aa90e13
@ -30,7 +30,12 @@ for PKG1 in "${depend[@]}"; do
|
|||||||
fi
|
fi
|
||||||
done
|
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"
|
printf "${NOTE} Installing ImageMagick from source...\n"
|
||||||
|
|
||||||
# Check if folder exists and remove it
|
# Check if folder exists and remove it
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user