X-Git-Url: https://git.cyclocoop.org/?p=lhc%2Fateliers.git;a=blobdiff_plain;f=local%2Fdovecot-user-del;h=5e63d32f9de0a1da47727a0ca2819d60860e1ecc;hp=513f7aa23ec5a563b3f469e75b31d67228532bc7;hb=9075978ae94310fa7a27d9881d3cecc6150ca3e9;hpb=8861456f050ddaa2797cd93e9d2b7808b282d289 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