Page MenuHomeDevCentral

D1240.diff
No OneTemporary

D1240.diff

diff --git a/roles/viperserv/eggdrop/software.sls b/roles/viperserv/eggdrop/software.sls
--- a/roles/viperserv/eggdrop/software.sls
+++ b/roles/viperserv/eggdrop/software.sls
@@ -12,6 +12,8 @@
# Build eggdrop
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+{% set manpage = dirs.man + "/man1/eggdrop.1.gz" %}
+
eggdrop_software:
file.directory:
- name: /opt/eggdrop
@@ -30,6 +32,13 @@
- require:
- cmd: eggdrop_software
+eggdrop_man:
+ cmd.run:
+ - name: gzip < /opt/eggdrop/doc/man1/eggdrop.1 > {{ manpage }}
+ - creates: {{ manpage }}
+ - require:
+ - cmd: eggdrop_software
+
# -------------------------------------------------------------
# ViperServ directory
#

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 24, 03:20 (48 m, 25 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2259434
Default Alt Text
D1240.diff (737 B)

Event Timeline