From c0300fd248ca80e0b4912ee278b99c5f85b1e0bf Mon Sep 17 00:00:00 2001 From: hylom Date: Fri, 17 Mar 2017 17:42:10 +0900 Subject: [PATCH] debian: create pid file directory in postinst, and add robots.txt to sradjp-assets --- debian/newslash-sradjp.postinst | 1 + debian/rules | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/debian/newslash-sradjp.postinst b/debian/newslash-sradjp.postinst index ae838681..eb05df7e 100644 --- a/debian/newslash-sradjp.postinst +++ b/debian/newslash-sradjp.postinst @@ -20,6 +20,7 @@ set -e case "$1" in configure) systemctl daemon-reload + mkdir -p /var/run/newslash #systemctl start newslash ;; diff --git a/debian/rules b/debian/rules index 6e5b1cca..be4056e9 100755 --- a/debian/rules +++ b/debian/rules @@ -46,13 +46,14 @@ install/$(ASSETS):: cd $(SRCDIR); \ find ./public/vue ! -name '*~' ! -type l \ -exec install -pDm 644 {} $(ASSETS_DEST)/{} \; - cd $(SRCDIR); \ +i cd $(SRCDIR); \ find ./external/bootstrap-3.3.7 ! -name '*~' ! -type l \ -exec install -pDm 644 {} $(ASSETS_DEST)/{} \; ln -sf ../../external/escape-html.js/js/escape-html.js $(ASSETS_DEST)/public/js/escape-html.js ln -sf ../external/bootstrap-3.3.7/dist $(ASSETS_DEST)/public/bootstrap ln -sf ../external/bootstrap-3.3.7/fonts $(ASSETS_DEST)/public/fonts install -pDm 644 $(SRCDIR)/external/escape-html.js/js/escape-html.js $(ASSETS_DEST)/external/escape-html.js/js/escape-html.js + install -pDm 644 $(SRCDIR)/public/robots.txt $(ASSETS_DEST)/public/robots.txt mkdir $(ASSETS_DEST)/public/css install/$(SRAD):: -- 2.11.0