Skip to content
Extraits de code Groupes Projets
Valider e7445455 rédigé par Tigriz's avatar Tigriz
Parcourir les fichiers

Update matrixpack.sh

parent cccbf9d4
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -27,7 +27,6 @@ slug_homeserver() { ...@@ -27,7 +27,6 @@ slug_homeserver() {
echo "$1" | iconv -c -t ascii//TRANSLIT | sed -E 's/^http:\/\/|^https:\/\///g' | sed -E 's/^-+|-+$//g' echo "$1" | iconv -c -t ascii//TRANSLIT | sed -E 's/^http:\/\/|^https:\/\///g' | sed -E 's/^-+|-+$//g'
} }
<<<<<<< HEAD
# COMMON REQUIRED BINARIES # COMMON REQUIRED BINARIES
require convert require convert
require montage require montage
...@@ -37,8 +36,6 @@ require curl ...@@ -37,8 +36,6 @@ require curl
require sed require sed
require tr require tr
=======
>>>>>>> 2964af55e9a55fa78c0a746392860227d28ff09a
# Checking params # Checking params
if test $# -lt 3 ; then if test $# -lt 3 ; then
echo 1>&2 "$0:FATAL: invalid argument number (expected 3)" echo 1>&2 "$0:FATAL: invalid argument number (expected 3)"
...@@ -46,12 +43,6 @@ if test $# -lt 3 ; then ...@@ -46,12 +43,6 @@ if test $# -lt 3 ; then
exit 1 exit 1
fi fi
# Checking if ImageMagick is installed
if ! command -v convert &> /dev/null && ! command -v montage &> /dev/null; then
echo "$0:ERROR: ImageMagick could not be found"
exit
fi
# Setting variables # Setting variables
dir=$(pwd) dir=$(pwd)
token=$1 token=$1
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter