|
@@ -38,24 +38,6 @@ else
|
|
|
DirAdmin_Path="/usr/local/directadmin"
|
|
|
fi
|
|
|
|
|
|
-# Check DirectAdmin Core updates
|
|
|
-DirectAdmin_Core_Update=$($DirAdmin_Path/build update)
|
|
|
-if [[ $DirectAdmin_Core_Update == *"is already latest" ]]
|
|
|
-then
|
|
|
- echo "0 \"DirectAdmin_Core\" - DirectAdmin core all up to date"
|
|
|
-else
|
|
|
- echo "1 \"DirectAdmin_Core\" - DirectAdmin core has a newer version available - consider updating"
|
|
|
-fi
|
|
|
-
|
|
|
-# Check DirectAdmin Core updates
|
|
|
-DirectAdmin_Core_Update=$($DirAdmin_Path/build update)
|
|
|
-if [[ $DirectAdmin_Core_Update == *"is already latest" ]]
|
|
|
-then
|
|
|
- echo "0 \"DirectAdmin_Core\" - DirectAdmin core all up to date"
|
|
|
-else
|
|
|
- echo "1 \"DirectAdmin_Core\" - DirectAdmin core has a newer version available - consider updating"
|
|
|
-fi
|
|
|
-
|
|
|
# store version information from DirectAdmin packages
|
|
|
DirectAdmin_Versions_Update=$($DirAdmin_Path/build versions)
|
|
|
#Define updates Array
|