mirror of
https://github.com/AG7GN/nexus-utilities.git
synced 2025-06-01 14:20:15 -07:00
Warning about imagemagick not installed
This commit is contained in:
parent
a84a0fc28a
commit
3029dabdd6
@ -179,8 +179,12 @@ $DEBUG && set -x
|
|||||||
|
|
||||||
if ! command -v convert >/dev/null
|
if ! command -v convert >/dev/null
|
||||||
then
|
then
|
||||||
sudo apt update || die "Could not run 'sudo apt update'"
|
yad --center --title="Desktop Text Editor - version $VERSION" --info --borders=30 \
|
||||||
sudo apt install -y imagemagick || die "Could not run 'sudo apt install -y imagemagick'"
|
--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
|
fi
|
||||||
|
|
||||||
if [ -s "$CONFIG_FILE" ]
|
if [ -s "$CONFIG_FILE" ]
|
||||||
|
@ -1 +1 @@
|
|||||||
VERSION="2.0.5"
|
VERSION="2.0.6"
|
Loading…
x
Reference in New Issue
Block a user