From 40d3cf70acf3a6fa9fe5ec5e10d5d2b79b216a5d Mon Sep 17 00:00:00 2001 From: levasseur Date: Mon, 13 Sep 2021 17:13:32 +0200 Subject: [PATCH] fixed some typos --- modules/authnz.sh | 2 +- modules/conf_disks.sh | 2 +- modules/install_pkg.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/authnz.sh b/modules/authnz.sh index 73ec9ab..b159ee4 100644 --- a/modules/authnz.sh +++ b/modules/authnz.sh @@ -27,7 +27,7 @@ add_remote_user() # Create a local user create_user() { - if [[ $(noerror --noouut id $1) != 0 ]]; then + if [[ $(noerror --noout id $1) != 0 ]]; then useradd -Um $1 else prnt W "L'utilisateur $1 existe déjà. Rien à faire..." diff --git a/modules/conf_disks.sh b/modules/conf_disks.sh index f99068d..cd9a557 100644 --- a/modules/conf_disks.sh +++ b/modules/conf_disks.sh @@ -9,7 +9,7 @@ # ------------------------------------------------------------------------------ # Variable : # * CALCTYPE: filesystem to use (zfs, ext4, xfs) -# * CALCMOUNTPOINT: mount point of the target file system (FQPN) +# * CALCMOUNTPOINT: mount point of the target file system (FQP) # * CALCLEVEL: ZFS only, RAID level (mirror, raidz1, raidz2, raidz3), # empty for striped volume. Any other level than stripe requires # more than one disk. diff --git a/modules/install_pkg.sh b/modules/install_pkg.sh index aecb492..c2e78b9 100644 --- a/modules/install_pkg.sh +++ b/modules/install_pkg.sh @@ -27,7 +27,7 @@ install_pkg() if [[ -n PKGS_BLACKLIST ]]; then for pkg in $PKGS_BLACKLIST; do prnt I "Mise du paquet $pkg en liste noire..." - local dest=/usr/apt/preferences.d/blacklist_$pkg.conf + local dest=/etc/apt/preferences.d/blacklist_$pkg.conf installfile blacklist.conf $dest && sed -i -e "s/@pkg@/pkg/" $dest