فهرست منبع

Added some extra text to clarify use of variable APACHEUSER depending on Linux distribution

Michael Honkoop 10 ماه پیش
والد
کامیت
7da5b6f2ae
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      nextcloud-updates.sh

+ 2 - 2
nextcloud-updates.sh

@@ -14,7 +14,7 @@ RELEASEURL="https://download.nextcloud.com/server/releases/"
 
 BASEPATH="/var/www/html"
 
-# set the correct user for running the commands ( either apache or www-data )
+# set the correct user for running the commands ( either apache or www-data, this depends on your Linux-Distribution)
 
 APACHEUSER="apache"
 
@@ -33,7 +33,7 @@ fi
 NCINSTALLED=$(sudo -u $APACHEUSER php $BASEPATH/occ status --output=json | jq -r '.versionstring')
 
 # Get latest avaiable version information
-# In v29.x.x this has changed outputs <name-of-instance> <version,
+# In v29.x.x this has changed outputs <name-of-instance> <version>,
 
 NCAVAILABLE=$(curl -s $RELEASEURL | sed -e 's/<[^>]*>//g' | grep -o "^nextcloud.*.zip" | tail -n1 | cut -d'-' -f 2 | sed 's/.\{4\}$//')