Skip to content

Commit 32bb9ff

Browse files
committed
$arch sensitive epel url
1 parent c477958 commit 32bb9ff

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

install/vst-install.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ tools="screen mc libpng libjpeg curl curl libmcrypt libmcrypt mhash mhash
1414
freetype openssl flex libxml2 ImageMagick sqlite sqlite pcre pcre sudo bc
1515
mailx lsof ntp tar whois telnet rsync"
1616

17-
rpms="nginx httpd mod_ssl mod_ruid2 mod_extract_forwarded ftp
17+
rpms="nginx httpd mod_ssl mod_ruid2 mod_extract_forwarded mod_fcgid ftp
1818
webalizer awstats mysql mysql-server php php-bcmath php-cli php-common
1919
php-gd php-imap php-mbstring php-mcrypt php-mysql php-pdo php-soap php-tidy
2020
php-xml php-xmlrpc phpMyAdmin exim dovecot clamd spamassassin roundcubemail
@@ -198,11 +198,11 @@ fi
198198
# Install EPEL repo
199199
if [ ! -e '/etc/yum.repos.d/epel.repo' ]; then
200200
if [ "$release" -eq '5' ]; then
201-
epel="5/i386/epel-release-5-4.noarch.rpm"
201+
epel="5/$arch/epel-release-5-4.noarch.rpm"
202202
fi
203203

204204
if [ "$release" -eq '6' ]; then
205-
epel="6/i386/epel-release-6-7.noarch.rpm"
205+
epel="6/$arch/epel-release-6-8.noarch.rpm"
206206
fi
207207

208208
rpm -ivh http://dl.fedoraproject.org/pub/epel/$epel

0 commit comments

Comments
 (0)