Skip to content

Commit

Permalink
easy-rsa: Add workaround for issue #1
Browse files Browse the repository at this point in the history
This is to simplify installation process to eliminate the need to rename
files and directories manually.

Signed-off-by: Serhey Popovych <serhe.popovych@gmail.com>
  • Loading branch information
serhepopovych committed Jan 24, 2021
1 parent 151cf89 commit 3ed7bce
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions install-sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,21 @@

# Requires: rm(1), ln(1), id(1)

## Workaround for issue https://github.com/serhepopovych/easy-rsa/issues/1

for u in \
"$ROOT/etc/lighttpd/vhosts.d/@fqdn@" \
"$ROOT/etc/lighttpd/pki/@domain@" \
"$ROOT/etc/logrotate.d/lighttpd-@fqdn@" \
"$ROOT/var/log/lighttpd/@fqdn@" \
\
"$ROOT/etc/letsencrypt/live/@domain@" \
"$ROOT/etc/letsencrypt/live/@fqdn@" \
#
do
mv "$u" "$(echo "$u" | eval sed $SUBST_TEMPLATES)" ||:
done

## Make xbin symlink

t="$TARGET/easy-rsa/extensions/xbin"
Expand Down

0 comments on commit 3ed7bce

Please sign in to comment.