Sn1per Community Edition by @xer0dayz - https://xerosecurity.com

This commit is contained in:
xer0dayz
2020-02-08 13:37:47 -07:00
committed by xer0dayz
parent 3ecd54d61e
commit 0f81ddf3ee

View File

@@ -41,7 +41,7 @@ cp -Rf * $INSTALL_DIR 2> /dev/null
cd $INSTALL_DIR
# CHECK FOR UBUNTU...
UBUNTU_CHECK=$(egrep DISTRIB_ID /etc/lsb-release)
UBUNTU_CHECK=$(egrep DISTRIB_ID /etc/lsb-release 2> /dev/null)
if [[ $UBUNTU_CHECK == "DISTRIB_ID=Ubuntu" ]]; then
if [[ ! -f "/etc/apt/sources.list.bak" ]]; then
cp /etc/apt/sources.list /etc/apt/sources.list.bak