From e19b8a4e0a3a5d88bb469c0f8beaadfaf4b00882 Mon Sep 17 00:00:00 2001 From: Frans de Jonge Date: Fri, 12 Apr 2024 23:19:23 +0200 Subject: Add some error prevention to Debian/Ubuntu installation docs (#6290) Reverts a minor part of . People who want to use the root can easily figure out how to do that themselves. Fixes #4955. --- docs/en/admins/06_LinuxInstall.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/en/admins/06_LinuxInstall.md') 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 -- cgit v1.2.3