Modification : raccourcissement des noms UNIX pour MySQL : php5_ -> php_ .
[lhc/ateliers.git] / local / dovecot-user-del
index 513f7aa..5e63d32 100755 (executable)
@@ -67,7 +67,7 @@ shift
                 done 4<<-EOF 3>&1 >&2 |
                        $(sudo cat "$old_passwd")
                        EOF
-               sudo install -o php5_roundcube -g php5_roundcube -m 0640 /dev/stdin "$new_passwd"
+               sudo install -o php_roundcube -g php_roundcube -m 0640 /dev/stdin "$new_passwd"
                sudo mv -f "$new_passwd" "$old_passwd"
         fi
 # setup_nss
@@ -100,7 +100,7 @@ shift
 # setup_roundcube
        if test "${purge:+set}"
         then
-               sudo -u php5_roundcube psql -1AqtX --set ON_ERROR_STOP=1 -U roundcube roundcube <<-EOF
+               sudo -u php_roundcube psql -1AqtX --set ON_ERROR_STOP=1 -U roundcube roundcube <<-EOF
                        DO LANGUAGE plpgsql \$\$
                                DECLARE uid integer;
                        BEGIN