mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 18:49:17 -07:00
Amazon linux support
This commit is contained in:
parent
26c311b773
commit
4cc3c1d287
12 changed files with 34 additions and 31 deletions
|
@ -21,7 +21,7 @@ source $VESTA/conf/vesta.conf
|
|||
# Checking quota package
|
||||
quota=$(which --skip-alias --skip-functions quota 2>/dev/null)
|
||||
if [ $? -ne 0 ]; then
|
||||
if [ -e "/etc/redhat-release" ]; then
|
||||
if [ -d "/etc/sysconfig" ]; then
|
||||
yum -y install quota >/dev/null 2>&1
|
||||
check_result $? "quota package installation failed" $E_UPDATE
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue