add arrays

This commit is contained in:
Tenzing Kandang 2025-11-28 10:38:29 +01:00
parent b7ccacec3d
commit d29718d9bf

View File

@ -37,7 +37,6 @@ apt list --installed 2> >(tee -a $ERROR_LOG) >$DIR/apt-installed.cmd \
&& echo "[OK]: Fichier apt-installed.cmd généré" |tee -a $SUCCESS_LOG \
|| echo "[ECHEC]: Erreur à la génération de apt-installed.cmd" |tee -a $ERROR_LOG
--------------------------------------
declare -a DEVICES
mapfile -t DEVICES < <(lsblk -dn -o NAME |grep -v loop)