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/.
This commit is contained in:
@@ -71,7 +71,7 @@ Switch between multiple IMAP accounts within a single Roundcube session.
|
|||||||
Navigate to your Roundcube installation directory and run:
|
Navigate to your Roundcube installation directory and run:
|
||||||
|
|
||||||
```bash
|
```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.
|
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:
|
> **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
|
> ```bash
|
||||||
> sudo -u www-data composer require gecka/roundcube-ident_switch
|
> sudo -u www-data composer require gecka/ident-switch
|
||||||
> ```
|
> ```
|
||||||
|
|
||||||
### Manual
|
### Manual
|
||||||
@@ -153,7 +153,7 @@ $config['ident_switch.preconfig'] = [
|
|||||||
## Updating
|
## Updating
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
composer update gecka/roundcube-ident_switch
|
composer update gecka/ident-switch
|
||||||
```
|
```
|
||||||
|
|
||||||
Database migrations are applied automatically by the Roundcube plugin installer.
|
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
|
### 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
|
2. Database migrations are applied automatically
|
||||||
|
|
||||||
### Manual
|
### Manual
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "gecka/roundcube-ident_switch",
|
"name": "gecka/ident-switch",
|
||||||
"type": "roundcube-plugin",
|
"type": "roundcube-plugin",
|
||||||
"description": "This plugin allows users to switch between different accounts (including remote) in single Roundcube session.",
|
"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",
|
"homepage": "https://github.com/Gecka-Apps/roundcube-ident_switch",
|
||||||
@@ -51,7 +51,6 @@
|
|||||||
},
|
},
|
||||||
"extra": {
|
"extra": {
|
||||||
"roundcube": {
|
"roundcube": {
|
||||||
"plugin-name": "ident_switch",
|
|
||||||
"min-version": "1.6",
|
"min-version": "1.6",
|
||||||
"sql-dir": "SQL"
|
"sql-dir": "SQL"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user