File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ YUM_REPO='/etc/yum.repos.d/vesta.repo'
1414arch=$( uname -i)
1515os=$( cut -f 1 -d ' ' /etc/redhat-release)
1616release=$( grep -o " [0-9]" /etc/redhat-release | head -n1)
17+ codename=" ${os} _$release "
1718memory=$( grep ' MemTotal' /proc/meminfo | tr ' ' ' \n' | grep [0-9])
1819software=" nginx httpd mod_ssl mod_ruid2 mod_extract_forwarded mod_fcgid
1920 php php-bcmath php-cli php-common php-gd php-imap php-mbstring php-mcrypt
@@ -787,7 +788,7 @@ if [ "$?" -ne 0 ]; then
787788fi
788789
789790# Send notification to vestacp.com
790- wget vestacp.com/notify/? $REPO -O /dev/null
791+ wget vestacp.com/notify/? $codename -O /dev/null
791792
792793# Send notification to admin email
793794echo -e " Congratulations, you have just successfully installed \
You can’t perform that action at this time.
0 commit comments