Correction : etc/sv/mysql/configure.sh : install bin/ .
[lhc/ateliers.git] / etc / sv / mysql / configure.sh
index 4dcef57..cf8e41d 100644 (file)
@@ -20,7 +20,7 @@ rule adduser mysql-data \
  --system
 sudo usermod --home "$home" mysql
 sudo adduser mysql mysql-data
-sudo install -d -m 751 -o mysql -g mysql \
+sudo install -d -m 755 -o mysql -g mysql \
  "$home" \
  "$home"/bin
 sudo rm -rf /etc/mysql
@@ -43,9 +43,9 @@ if sudo test ! -d "$home"/data
         --no-defaults
  fi
 
-sudo find "$tool"/etc/postgresql/bin/ -type f -perm /+x -exec \
+sudo find "$tool"/etc/mysql/bin/ -type f -perm /+x -exec \
        install -m 755 -o root -g root \
-        -t /home/postgresql/bin/ {} +
+        -t /home/mysql/bin/ {} +
 
 sudo ln -fns \
         ../sv/"$sv" \