diff options
| author | 2024-04-12 23:19:23 +0200 | |
|---|---|---|
| committer | 2024-04-12 23:19:23 +0200 | |
| commit | e19b8a4e0a3a5d88bb469c0f8beaadfaf4b00882 (patch) | |
| tree | 337ab131398c6233d012bef6142c1a533b84e061 | |
| parent | 7aaed6092f09b73b2deb7e32a1fed9b776c0202d (diff) | |
Add some error prevention to Debian/Ubuntu installation docs (#6290)
Reverts a minor part of <https://github.com/FreshRSS/FreshRSS/pull/2164>.
People who want to use the root can easily figure out how to do that themselves.
Fixes #4955.
| -rw-r--r-- | README.fr.md | 2 | ||||
| -rw-r--r-- | docs/en/admins/06_LinuxInstall.md | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/README.fr.md b/README.fr.md index 1903dab06..2693527db 100644 --- a/README.fr.md +++ b/README.fr.md @@ -126,7 +126,7 @@ sudo cli/access-permissions.sh sudo chown www-data:www-data -R . # Publier FreshRSS dans votre répertoire HTML public -sudo ln -s /usr/share/FreshRSS/p /var/www/html/FreshRSS +[ ! -e "/var/www/html/FreshRSS" ] && sudo ln -s /usr/share/FreshRSS/p /var/www/html/FreshRSS || echo "/var/www/html/FreshRSS existe déjà" # Naviguez vers http://example.net/FreshRSS pour terminer l’installation # (Si vous le faite depuis localhost, vous pourrez avoir à ajuster le réglage de votre adresse publique) # ou utilisez l’interface en ligne de commande diff --git a/docs/en/admins/06_LinuxInstall.md b/docs/en/admins/06_LinuxInstall.md index 95369691e..8a41ade48 100644 --- a/docs/en/admins/06_LinuxInstall.md +++ b/docs/en/admins/06_LinuxInstall.md @@ -1,4 +1,4 @@ -# Installation on Debian 9/Ubuntu 16.04 +# Installation on Debian/Ubuntu This tutorial will give you step-by-step commands to install the latest stable release of FreshRSS with Apache and MySQL using git. It’s always recommended that you [backup your installation](05_Backup.md) before updating @@ -93,10 +93,10 @@ chown www-data:www-data -R . chown apache:www-data -R . ``` -Finally, symlink the public folder to the root of your web directory +Finally, symlink the public folder to your FreshRSS directory ```sh -ln -s /usr/share/FreshRSS/p /var/www/html/ +[ ! -e "/var/www/html/FreshRSS" ] && ln -s /usr/share/FreshRSS/p /var/www/html/FreshRSS || echo "/var/www/html/FreshRSS already exists" ``` ## Part 3: Creating a Database for FreshRSS |
