fixed some typos

This commit is contained in:
levasseur
2021-09-13 17:13:32 +02:00
parent a06897270f
commit 40d3cf70ac
3 changed files with 3 additions and 3 deletions

View File

@@ -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..."

View File

@@ -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.

View File

@@ -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