Skip to content

Commit 5979d96

Browse files
committed
Added codename var
1 parent 47ba7d7 commit 5979d96

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

install/vst-install.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ YUM_REPO='/etc/yum.repos.d/vesta.repo'
1414
arch=$(uname -i)
1515
os=$(cut -f 1 -d ' ' /etc/redhat-release)
1616
release=$(grep -o "[0-9]" /etc/redhat-release |head -n1)
17+
codename="${os}_$release"
1718
memory=$(grep 'MemTotal' /proc/meminfo |tr ' ' '\n' |grep [0-9])
1819
software="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
787788
fi
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
793794
echo -e "Congratulations, you have just successfully installed \

0 commit comments

Comments
 (0)