X-Git-Url: https://git.cyclocoop.org/?p=lhc%2Fateliers.git;a=blobdiff_plain;f=local%2Fdovecot-user-del;h=5e63d32f9de0a1da47727a0ca2819d60860e1ecc;hp=513f7aa23ec5a563b3f469e75b31d67228532bc7;hb=926e4fe67918e65c24d49bc922c07ef753fe8f71;hpb=b75d4503ef9c919231c0c02daf5a1ed1e57c73af diff --git a/local/dovecot-user-del b/local/dovecot-user-del index 513f7aa..5e63d32 100755 --- a/local/dovecot-user-del +++ b/local/dovecot-user-del @@ -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