From b088e9adf6cae4b551f7229eeb655f7ffb322258 Mon Sep 17 00:00:00 2001
From: Tigriz <646-Tigriz@users.noreply.git.iiens.net>
Date: Thu, 17 Sep 2020 00:12:53 +0200
Subject: [PATCH] Reverting matrixpack.sh changes

---
 matrixpack.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/matrixpack.sh b/matrixpack.sh
index 4e78bb2..6102fa0 100755
--- a/matrixpack.sh
+++ b/matrixpack.sh
@@ -2,7 +2,7 @@
 # Usage
 # matrixpack token homeserver directory
 # 
-# Pack name is the folder name
+# Pack name is the directory name
 # Sticker name is the file name
 # /!\ Token is a sensitive information
 
@@ -18,14 +18,14 @@ if test $# != 3 ; then
 fi
 
 # Checking if ImageMagick is installed
-if ! command -v convert &> /dev/null; then
+if ! command -v magick &> /dev/null; then
     echo "$0:ERROR: magick could not be found"
     echo "Usage : ./matrixpack.sh token homerserver directory"
     exit
 fi
 
 # Changing directory to work directly in it
-cd $3
+cd "$3"
 
 # Setting variables
 dir=$(pwd)
-- 
GitLab