diff options
| author | 2024-04-12 23:19:23 +0200 | |
|---|---|---|
| committer | 2024-04-12 23:19:23 +0200 | |
| commit | e19b8a4e0a3a5d88bb469c0f8beaadfaf4b00882 (patch) | |
| tree | 337ab131398c6233d012bef6142c1a533b84e061 /docs | |
| 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.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/en/admins/06_LinuxInstall.md | 6 |
1 files changed, 3 insertions, 3 deletions
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 |
