From e81002c528416bbfba5cbbee6001eb110005c939 Mon Sep 17 00:00:00 2001 From: Laurent Dinclaux Date: Wed, 11 Feb 2026 01:19:29 +1100 Subject: [PATCH] Rename Composer package to gecka/ident-switch The roundcube/plugin-installer derives the plugin directory name from the package name by replacing dashes with underscores. The previous name gecka/roundcube-ident_switch resulted in plugins/roundcube_ident_switch/. Renaming to gecka/ident-switch produces the correct plugins/ident_switch/. --- README.md | 8 ++++---- composer.json | 3 +-- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index ab79804..a0a53ad 100644 --- a/README.md +++ b/README.md @@ -71,7 +71,7 @@ Switch between multiple IMAP accounts within a single Roundcube session. Navigate to your Roundcube installation directory and run: ```bash -composer require gecka/roundcube-ident_switch +composer require gecka/ident-switch ``` The [roundcube/plugin-installer](https://github.com/roundcube/plugin-installer) will automatically place the plugin in the correct `plugins/` directory, initialize the database schema, and offer to enable it. @@ -80,7 +80,7 @@ The [roundcube/plugin-installer](https://github.com/roundcube/plugin-installer) > **Running as root on a VPS?** Roundcube files are typically owned by `www-data`. Run Composer as the web server user to avoid permission issues: > ```bash -> sudo -u www-data composer require gecka/roundcube-ident_switch +> sudo -u www-data composer require gecka/ident-switch > ``` ### Manual @@ -153,7 +153,7 @@ $config['ident_switch.preconfig'] = [ ## Updating ```bash -composer update gecka/roundcube-ident_switch +composer update gecka/ident-switch ``` Database migrations are applied automatically by the Roundcube plugin installer. @@ -166,7 +166,7 @@ If you are upgrading from `boressoft/ident_switch`, `toteph42/identity_switch`, ### With Composer -1. Replace the old package in `composer.json` with `gecka/roundcube-ident_switch` and run `composer update` +1. Replace the old package in `composer.json` with `gecka/ident-switch` and run `composer update` 2. Database migrations are applied automatically ### Manual diff --git a/composer.json b/composer.json index 48b5180..d0c1980 100644 --- a/composer.json +++ b/composer.json @@ -1,5 +1,5 @@ { - "name": "gecka/roundcube-ident_switch", + "name": "gecka/ident-switch", "type": "roundcube-plugin", "description": "This plugin allows users to switch between different accounts (including remote) in single Roundcube session.", "homepage": "https://github.com/Gecka-Apps/roundcube-ident_switch", @@ -51,7 +51,6 @@ }, "extra": { "roundcube": { - "plugin-name": "ident_switch", "min-version": "1.6", "sql-dir": "SQL" }