summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-01-25 05:27:41 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-01-25 05:27:41 +0900
commit233a9ca376bbc6f97e5af45d551fa3ff0bf6c924 (patch)
treef3af90c1459e165a3f0b56105885ae4576cada09
parent819f8a7e61c5b3863969dbea6afb6ad201a9c599 (diff)
modified Makefile
-rw-r--r--Makefile18
1 files changed, 2 insertions, 16 deletions
diff --git a/Makefile b/Makefile
index 2d80f68..90a5730 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@
PREFIX = /usr/local
MANPREFIX = $(PREFIX)/share/man
-DEPENDENCIES = neomutt curl msmtp pass gettext urlview urlscan
+DEPENDENCIES = neomutt curl msmtp pass gettext urlscan
NON_EXEC_DEPS = isync ca-certificates
check-dependencies:
@@ -53,21 +53,7 @@ install-dependencies:
sudo dnf install -y $(DEPENDENCIES); \
elif command -v pacman >/dev/null 2>&1; then \
echo "Using pacman to install dependencies..."; \
- if ! sudo pacman -S --needed $(DEPENDENCIES); then \
- if command -v yay >/dev/null 2>&1; then \
- echo "Using yay to install dependencies..."; \
- yay -S $(DEPENDENCIES); \
- elif command -v paru >/dev/null 2>&1; then \
- echo "Using paru to install dependencies..."; \
- paru -S $(DEPENDENCIES); \
- else \
- echo "Error: No AUR helper found. Please install dependencies manually."; \
- exit 1; \
- fi; \
- fi; \
- elif command -v rpm >/dev/null 2>&1; then \
- echo "Using rpm to install dependencies..."; \
- sudo rpm -i $(DEPENDENCIES); \
+ sudo pacman -S --needed $(DEPENDENCIES); \
elif command -v zypper >/dev/null 2>&1; then \
echo "Using zypper to install dependencies..."; \
sudo zypper install -y $(DEPENDENCIES); \