@@ -43,9 +43,6 @@ if [ "$DIST" = "Ubuntu" ] || [ "$DIST" = "Debian" ]; then
|
|||||||
if ! which lsb_release &> /dev/null; then
|
if ! which lsb_release &> /dev/null; then
|
||||||
$install lsb-release
|
$install lsb-release
|
||||||
fi
|
fi
|
||||||
if ! which bc &> /dev/null; then
|
|
||||||
$install bc
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
test -e /etc/fedora-release && DIST="Fedora"
|
test -e /etc/fedora-release && DIST="Fedora"
|
||||||
if [ "$DIST" = "Fedora" ]; then
|
if [ "$DIST" = "Fedora" ]; then
|
||||||
@@ -56,9 +53,6 @@ if [ "$DIST" = "Fedora" ]; then
|
|||||||
if ! which lsb_release &> /dev/null; then
|
if ! which lsb_release &> /dev/null; then
|
||||||
$install redhat-lsb-core
|
$install redhat-lsb-core
|
||||||
fi
|
fi
|
||||||
if ! which bc &> /dev/null; then
|
|
||||||
$install bc
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
if which lsb_release &> /dev/null; then
|
if which lsb_release &> /dev/null; then
|
||||||
DIST=`lsb_release -is`
|
DIST=`lsb_release -is`
|
||||||
|
|||||||
Reference in New Issue
Block a user