Ausgaben an nextcloud angepasst
This commit is contained in:
parent
ebb265b12c
commit
1193b0d3ff
@ -16,7 +16,7 @@ fi
|
||||
|
||||
if [ -e "$app_root"/version.php ]
|
||||
then
|
||||
# echo "owncloud Version 6 oder hoeher erkannt"
|
||||
# echo "nextcloud Version 6 oder hoeher erkannt"
|
||||
version_full=$(grep OC_VersionString "$app_root"/version.php | cut -d "'" -f2)
|
||||
else
|
||||
echo "$app_root/version.php does not exist. exit"
|
||||
@ -46,7 +46,7 @@ version_website=$(lynx -dump https://download.nextcloud.com/server/releases/ | g
|
||||
|
||||
if [ "$version_full" = "$version_website" ]
|
||||
then
|
||||
echo "owncloud ist up-to-date - installed version: $version_full; newest version: $version_website"
|
||||
echo "nextcloud ist up-to-date - installed version: $version_full; newest version: $version_website"
|
||||
exit 0
|
||||
#elif [ $version_full -lt $version_website ]
|
||||
# echo Version ist kleiner
|
||||
|
Loading…
Reference in New Issue
Block a user