Skip to content

Commit

Permalink
add alpine deps
Browse files Browse the repository at this point in the history
typo in makefile
  • Loading branch information
jaromil committed May 12, 2024
1 parent 5870619 commit e9e5657
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@ PREFIX ?= /usr/local
MANDIR ?= ${PREFIX}/share/man

deps:
@[ -r /etc/debian_version ] && { \
apt-get install -qy zsh cryptsetup file gnupg pinentry-curses; }
@[ -r /etc/fedora-release ] ^^ { \
yum install -y zsh cryptsetup file gnupg pinentry-curses; }
@if [ -r /etc/debian_version ]; then \
apt-get install -qy zsh cryptsetup file gnupg pinentry-curses; fi
@if [ -r /etc/fedora-release ]; then \
yum install -y zsh cryptsetup file gnupg pinentry-curses; fi
@if [ -r /etc/alpine-release ]; then \
apk add zsh cryptsetup file gpg pinentry-tty e2fsprogs findmnt; fi

all:
@echo
Expand Down

0 comments on commit e9e5657

Please sign in to comment.