1
0
mirror of https://github.com/AG7GN/nexus-utilities.git synced 2025-05-28 04:10:19 -07:00

Warning about imagemagick not installed

This commit is contained in:
Steve Magnuson 2020-02-06 14:49:54 -08:00
parent a84a0fc28a
commit 3029dabdd6
2 changed files with 7 additions and 3 deletions

View File

@ -179,8 +179,12 @@ $DEBUG && set -x
if ! command -v convert >/dev/null
then
sudo apt update || die "Could not run 'sudo apt update'"
sudo apt install -y imagemagick || die "Could not run 'sudo apt install -y imagemagick'"
yad --center --title="Desktop Text Editor - version $VERSION" --info --borders=30 \
--no-wrap --text="<b>The 'convert' application is not installed. Run this command in the Terminal:\n\nsudo apt update && sudo apt install -y imagemagick, then run this script again.</b>" --buttons-layout=center \
--button=Close:0
SafeExit
#sudo apt update || Die "Could not run 'sudo apt update'"
#sudo apt install -y imagemagick || Die "Could not run 'sudo apt install -y imagemagick'"
fi
if [ -s "$CONFIG_FILE" ]

View File

@ -1 +1 @@
VERSION="2.0.5"
VERSION="2.0.6"