Skip to content

Instantly share code, notes, and snippets.

View takaokouji's full-sized avatar

Kouji Takao takaokouji

View GitHub Profile
#!/usr/bin/env bash
# repository
EPEL=epel-release-6-8.noarch
rpm -q $EPEL
if [ $? -eq 1 ]; then
cd /tmp
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/$EPEL.rpm
rpm -Uvh $EPEL.rpm
fi