From 36f88b78bbe5a2d44fdec1c33d11189ed9163bd0 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Tue, 9 Jul 2024 13:39:38 +0300 Subject: [PATCH] wifiqr*bash: fix deprecation warning --- bash/wifiqr-open.bash | 2 +- bash/wifiqr.bash | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bash/wifiqr-open.bash b/bash/wifiqr-open.bash index 322e497..d220190 100755 --- a/bash/wifiqr-open.bash +++ b/bash/wifiqr-open.bash @@ -11,7 +11,7 @@ qrencode -l H -t utf8 "WIFI:T:nopass;S:$1;;" # Stores QR code as SSID.png, -s doubles pixel size from default 3 qrencode -l H -s $PIXELSIZE -o $1.png "WIFI:T:nopass;S:$1;;" # Might as well jpg this too -convert "$1".png "$1".jpg +magick "$1".png "$1".jpg # Prints details echo "SSID: $1" diff --git a/bash/wifiqr.bash b/bash/wifiqr.bash index f116137..dac4b2b 100755 --- a/bash/wifiqr.bash +++ b/bash/wifiqr.bash @@ -11,7 +11,7 @@ qrencode -l H -t utf8 "WIFI:T:WPA;S:$1;P:$2;;" # Stores QR code as SSID.png, -s doubles pixel size from default 3 qrencode -l H -s $PIXELSIZE -o $1.png "WIFI:T:WPA;S:$1;P:$2;;" # Might as well jpg this too -convert "$1".png "$1".jpg +magick "$1".png "$1".jpg # Prints details echo "SSID: $1"