Ausgaben an nextcloud angepasst
This commit is contained in:
parent
ebb265b12c
commit
1193b0d3ff
@ -16,7 +16,7 @@ fi
|
|||||||
|
|
||||||
if [ -e "$app_root"/version.php ]
|
if [ -e "$app_root"/version.php ]
|
||||||
then
|
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)
|
version_full=$(grep OC_VersionString "$app_root"/version.php | cut -d "'" -f2)
|
||||||
else
|
else
|
||||||
echo "$app_root/version.php does not exist. exit"
|
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" ]
|
if [ "$version_full" = "$version_website" ]
|
||||||
then
|
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
|
exit 0
|
||||||
#elif [ $version_full -lt $version_website ]
|
#elif [ $version_full -lt $version_website ]
|
||||||
# echo Version ist kleiner
|
# echo Version ist kleiner
|
||||||
|
Loading…
Reference in New Issue
Block a user