Merge pull request #265 from Hritik14/feature/ArchRelated
Feature/arch related
This commit is contained in:
commit
a88ebb2e38
|
@ -258,7 +258,7 @@ if [ ! $FLUXIONDebug ]; then
|
||||||
|
|
||||||
echo
|
echo
|
||||||
|
|
||||||
FLUXIONCLIToolsRequired=("aircrack-ng" "python2:python2.7|python2" "awk:awk|gawk|mawk" "curl" "dhcpd:isc-dhcp-server" "7zr:p7zip" "hostapd" "lighttpd" "iwconfig:wireless-tools" "macchanger" "mdk3" "nmap" "openssl" "php-cgi" "pyrit" "xterm" "rfkill" "unzip" "route:net-tools" "fuser:psmisc" "killall:psmisc")
|
FLUXIONCLIToolsRequired=("aircrack-ng" "python2:python2.7|python2" "awk:awk|gawk|mawk" "curl" "dhcpd:isc-dhcp-server|dhcp" "7zr:p7zip" "hostapd" "lighttpd" "iwconfig:wireless-tools" "macchanger" "mdk3" "nmap" "openssl" "php-cgi" "pyrit" "xterm" "rfkill" "unzip" "route:net-tools" "fuser:psmisc" "killall:psmisc")
|
||||||
FLUXIONCLIToolsMissing=()
|
FLUXIONCLIToolsMissing=()
|
||||||
|
|
||||||
while ! installer_utils_check_dependencies FLUXIONCLIToolsRequired[@]
|
while ! installer_utils_check_dependencies FLUXIONCLIToolsRequired[@]
|
||||||
|
|
|
@ -1,8 +1,16 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
if [ -f "/etc/arch-release" ]; then
|
if [ -f "/etc/arch-release" ]; then
|
||||||
PackageManagerCLT="pacman"
|
#Last entry is the default package manager to use (pacman)
|
||||||
PackageManagerCLTInstallOptions="-S -y"
|
AurHelpers="pacaur yaourt pacman"
|
||||||
|
for AurHelper in $AurHelpers; do
|
||||||
|
if [ "`pacman -Qs $AurHelper`" ]; then
|
||||||
|
PackageManagerCLT=$AurHelper
|
||||||
|
break;
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
PackageManagerCLT='pacman'
|
||||||
|
PackageManagerCLTInstallOptions="-S --noconfirm"
|
||||||
PackageManagerCLTRemoveOptions="-Rs"
|
PackageManagerCLTRemoveOptions="-Rs"
|
||||||
|
|
||||||
PackageManagerOutputDevice="/dev/stdout"
|
PackageManagerOutputDevice="/dev/stdout"
|
||||||
|
|
Loading…
Reference in New Issue