Correction : etc/sv/mysql/configure.sh : install bin/ .
authorJulien Moutinho <julm+heureux-cyclage@autogeree.net>
Tue, 16 Apr 2013 14:21:27 +0000 (16:21 +0200)
committerJulien Moutinho <julm+heureux-cyclage@autogeree.net>
Tue, 16 Apr 2013 14:23:23 +0000 (16:23 +0200)
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" \