summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-04-01 12:57:51 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-04-01 13:06:15 (EDT)
commit0946ee31dfe98ac4685a3ae826e87164cbd22c8c (patch)
tree4954fcb91356ebb1303f9b32a14360982d958880
parent2c6aa4737753ba96889e97b5261eeb48204fcd41 (diff)
build: Remove example systemd unit files
ProteanOS doesn't use systemd, so example unit files aren't needed.
-rwxr-xr-xbuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/build b/build
index 7503bae..64482fd 100755
--- a/build
+++ b/build
@@ -16,6 +16,11 @@ build:
install: build
oh-autoinstall
rm dest/usr/bin/gpgscm # TinyScheme-based test driver
+ rm -R dest/usr/share/doc/gnupg/examples/systemd-user
+ sed '/systemd-user/d' dest/usr/share/doc/gnupg/examples/README \
+ >dest/usr/share/doc/gnupg/examples/README~
+ mv dest/usr/share/doc/gnupg/examples/README~ \
+ dest/usr/share/doc/gnupg/examples/README
mv dest/usr/share/doc/gnupg/ dest/usr/share/doc/gpg/
oh-fixperms
oh-strip