Sn1per by 1N3CrowdShield

This commit is contained in:
root 2017-09-02 11:57:18 -04:00
parent 461f7e565f
commit 624a68621b
2 changed files with 5 additions and 1 deletions

View File

@ -1,4 +1,5 @@
## CHANGELOG:
* v2.5a - Fixed issue with [: ==: unary operator expected errors
* v2.6 - Added Blackarch Linux support
* v2.6 - Added $BROWSER variable to set default browser
* v2.5g - Updated README with update command

5
sniper
View File

@ -130,7 +130,10 @@ GOOHAK="1"
# DEFAULT IS "1" (ENABLED)
ENABLE_AUTO_UPDATES="1"
# CHECK IF DISTRO IS BLACKARCH
# CHECK DISTRO TYPE
DISTRO=$(cat /etc/*-release | grep DISTRIB_ID= | cut -d'=' -f2)
# CHECK FOR BLACKARCH LINUX
if grep -q BlackArch /etc/issue; then
DISTRO='blackarch'
echo "Detected BlackArch GNU/Linux"