aboutsummaryrefslogtreecommitdiffstats
path: root/american-unsigned-language-2.sh
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-06-15 23:16:41 -0600
committerJason A. Donenfeld <Jason@zx2c4.com>2020-06-15 23:16:41 -0600
commit95481be9a6f5c68329a61b5c5a4e3c6e713b8bd3 (patch)
treedf05588399d2f470abe0640e633da77d6ea20d82 /american-unsigned-language-2.sh
parentAdd demo gif (diff)
downloadamerican-unsigned-language-95481be9a6f5c68329a61b5c5a4e3c6e713b8bd3.tar.xz
american-unsigned-language-95481be9a6f5c68329a61b5c5a4e3c6e713b8bd3.zip
Support Fedora
Diffstat (limited to 'american-unsigned-language-2.sh')
-rwxr-xr-xamerican-unsigned-language-2.sh12
1 files changed, 10 insertions, 2 deletions
diff --git a/american-unsigned-language-2.sh b/american-unsigned-language-2.sh
index 60081e6..c63aad1 100755
--- a/american-unsigned-language-2.sh
+++ b/american-unsigned-language-2.sh
@@ -82,8 +82,16 @@ lockdown_status() {
lockdown_status
if ! command -v iasl >/dev/null 2>&1; then
- echo "[+] Installing dependencies"
- apt-get install -y acpica-tools
+ if command -v apt-get >/dev/null 2>&1; then
+ echo "[+] Installing dependencies"
+ apt-get install -y acpica-tools
+ elif command -v yum >/dev/null 2>&1; then
+ echo "[+] Installing dependencies"
+ yum install -y acpica-tools
+ else
+ echo "[-] Install iasl and try again"
+ exit 1
+ fi
fi
echo "[+] Resolving kernel symbols"